Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I add an id or class to an input? #119

Open
wishinghand opened this issue Feb 13, 2018 · 0 comments
Open

How can I add an id or class to an input? #119

wishinghand opened this issue Feb 13, 2018 · 0 comments

Comments

@wishinghand
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant