andrewhathaway / Winterfell

Generate complex, validated and extendable JSON-based forms in React.
http://winterfell.andrewhathaway.net
MIT License
785 stars 116 forks source link

Default option on select #29

Closed benbonnet closed 9 years ago

benbonnet commented 9 years ago

Might have missed it maybe; how do I implement a blank default option ? That works with adding an empty object for sure; I was thinking about the rails select helper that has this specific option which makes it clear and separated from the real selectable ones

andrewhathaway commented 9 years ago

Default options can be set under default in the input property of a question object.

Thanks.