json-forms icon indicating copy to clipboard operation
json-forms copied to clipboard

How can I add an `id` or `class` to an input?

Open wishinghand opened this issue 7 years ago • 0 comments

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.

wishinghand avatar Feb 13 '18 17:02 wishinghand