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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -