brutusin/json-forms

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

wishinghand opened this issue · 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.