koumoul-dev / vuetify-jsonschema-form

Create beautiful and low-effort forms that output valid data. Published on npm as @koumoul/vjsf.
https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/
MIT License
538 stars 154 forks source link

Feature request: directives #316

Closed ribrewguy closed 2 years ago

ribrewguy commented 2 years ago

I have found that directives are not supported (per reply here https://github.com/koumoul-dev/vuetify-jsonschema-form/issues/228). It would be useful to allow directives to be set on the target fields.

My current use case is to set masks using v-mask (https://www.npmjs.com/package/v-mask). If vjsf supported directives, then functionality like this wouldn't need to be provided out of the box.

albanm commented 2 years ago

Good idea.

albanm commented 2 years ago

done, see https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/examples#directives

ribrewguy commented 2 years ago

Awesome turnaround! Thanks!