reactjs - How get the value from a select in flux -
i have following code on render function using jflux framework. please can give me idea.
render: function(compile){ newcondominium: {province: ''}, return compile( <select name="provincecondominium" id="selprovince" $$-value="newcondominium.province" class="form-control"> <option disabled="true">--select--</option> <option>provincia 1</option> <option>provinicia 2</option> <option>provincia 3</option> )};
and want assign new selected option variable. how can selected option?
Comments
Post a Comment