mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
docs: select/demo/combobox.md - English translation (#3010)
English translation of labels and comments
This commit is contained in:
parent
ced5c9a9ed
commit
bde1711597
@ -41,13 +41,13 @@ const Test = React.createClass({
|
||||
this.setState({ options });
|
||||
},
|
||||
render() {
|
||||
// filterOption 需要设置为 false,数据是动态设置的
|
||||
// filterOption needs to be false,as the value is dynamically generated
|
||||
return (
|
||||
<Select combobox
|
||||
style={{ width: 200 }}
|
||||
onChange={this.handleChange}
|
||||
filterOption={false}
|
||||
placeholder="请输入账户名"
|
||||
placeholder="Enter the account name"
|
||||
>
|
||||
{this.state.options}
|
||||
</Select>
|
||||
|
Loading…
Reference in New Issue
Block a user