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+')'; }}
/>
我是否缺少任何東西?