json-forms
json-forms copied to clipboard
How can I add an `id` or `class` to an input?
I'd like to be able to define that a form element have its own id
or class
in the schema so it can be styled by CSS upon rendering. Is this functionality already included?
This would be similar to how https://github.com/vue-json-schema/form-schema has an attrs
object for each input that lets HTML attributes be added, like name, id, class, max, min, etc.