0
我想添加选择所有属性到multiselect
,我加了onSelectAll
道具,但我不能看到选择所有选项。onSelectAll选项不起作用react-bootstrap-multiselect
请参阅下面的代码。
<Multiselect
data={this.props.list}
multiple
ref="industry"
onSelectAll
onChange={this.handleDropdown.bind(this, 'industry')}
buttonText={function(options, select) {
return 'Industry ('+ options.length+')'; }}
/>
我是否缺少任何东西?