change from defaultValue to value because of formsy

This commit is contained in:
Technoboy10 2016-06-24 11:13:05 -04:00
parent 5cb46b1579
commit 93054cf393

View file

@ -33,7 +33,7 @@ var LanguageChooser = React.createClass({
<Form className={classes}>
<Select name="language"
options={languageOptions}
defaultValue={this.props.locale}
value={this.props.locale}
onChange={this.onSetLanguage}
required />
</Form>