brutusin / brutusin/json-forms

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

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
618
Forks
171
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.