react-semantify
react-semantify copied to clipboard
Select element in Form collection
dropdown should also apply to select
<select class="ui search dropdown">
<option value="">Select Country</option>
<option value="AF">Afghanistan</option>
with init
$('select.dropdown')
.dropdown()
;
http://semantic-ui.com/collections/form.html#dropdown
In fact what I'm looking for is the ability to use a dropdown as a controlled input in the react with two new props :
- value
- onChange
https://facebook.github.io/react/docs/forms.html#controlled-components