Dynamic interfaces
Is it possible to have like an interface that has a type entry and when it is a string for example the interface has a maxlength and minlength or when its a number it has a max and min?
4 Replies
Why not use two separate interfaces
cous i have a function that accepts an entry wich can be multiple. but are all based on one. i saw this once where if you set the type to string you can set a default ut if you set the type to int you cans et a min and max
so for example
Something like this?
yhea thx :)