json-schema-form / angular-schema-form

Generate forms from a JSON schema, with AngularJS!
https://json-schema-form.github.io/angular-schema-form
MIT License
2.47k stars 653 forks source link

How to provide input id from the form schema? #832

Closed shaun-here closed 7 years ago

shaun-here commented 7 years ago

I want to add id to all html input fields through form schema. How to do that?

Anthropic commented 7 years ago

@shaun-here what do you want to achieve, an id is already added, but ideally you would use the model data rather than need to script anything against the form ids. The new version fixes up the id and name values to be correctly applied with paths form-obj-array-4-obj-property for example.

Anthropic commented 7 years ago

Please re-open if you do not feel the question has been answered sufficiently.