You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@leifdenby came to IRC as he couldn't get <select><options>...</select> working. It wasn't clear to me that we should use value={...} on the <select> itself rather than selected={...} on <option>s. We need to make the doc clearer here.
Here's a JSFiddle that gives 3 examples: Controlled, Controller with LinkState and Uncontrolled <select>
Is this format used because it's easier to work with in React, or is there some other reason?
Also, I could take on this. Without mentioning LinkState right?
Should this also be mentioned in DOM Inconsistencies?
@leifdenby came to IRC as he couldn't get
<select><options>...</select>
working. It wasn't clear to me that we should usevalue={...}
on the<select>
itself rather thanselected={...}
on<option>
s. We need to make the doc clearer here.Here's a JSFiddle that gives 3 examples: Controlled, Controller with LinkState and Uncontrolled
<select>
http://jsfiddle.net/5734W/
The text was updated successfully, but these errors were encountered: