Dynamic valdr-type

225 Views Asked by At

Would it be possible to have a dynamic valdr-type? I am trying to build a dynamic form based off of nested objects and valdr-type="{{constraint}}, for example, but is not working.

Can valdr-type be dynamic or does it have to be set with valdr-type="InsertStringHere"?

1

There are 1 best solutions below

0
philippd On

No, valdr does not yet support dynamic valdr types. I opened an issue for it: https://github.com/netceteragroup/valdr/issues/74