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

Adding select input placeholder? #763

Closed SureshArav closed 8 years ago

SureshArav commented 8 years ago

How to set a placeholder <---select----> for select input field in angular schema form?

Anthropic commented 8 years ago

@SureshArav you need to add a default value into both titleMap with a value that you also need in your enum. This is usually either an empty string.

Sorry for the slow reply I was on holidays. Please re-open if you do not feel the question has been answered sufficiently.