1
react.jsのMaterial-UIオートコンプリートの値を取得する方法。react.jsのMaterial-ui auto-completeの値を取得する方法
I疲れ
productName: this.refs.productName.value
productName: this.refs.productName.getValue()
両方が
<AutoComplete
hintText="Product Name"
// filter={AutoComplete.noFilter}
// filter={AutoComplete.fuzzyFilter}
filter={AutoComplete.caseInsensitiveFilter}
openOnFocus={true}
name="productName"
ref="productName"
value={this.props.signUpState.productName}
dataSource={datasource}
floatingLabelText="Product Name"
hintText="Product Name"
onChange={this.props._inputHandler}
// onUpdateInput={this.props.signUpState.handleUpdateInput}
// dataSourceConfig={dataSourceConfig}
/>
解決策がまだありません –