I cannot select multiple values without holding Cmd key
My usage of SelectSearch in the component
<SelectSearch search multiple emptyMessage="Cannot find class" options={this.state.lessonSelections}placeholder="Class" closeOnSelect={false} printOptions="on-focus"className='select-search' onChange={this.handleLessonsChange.bind(this)} />
My handleLessonsChange
this.setState({
lessons: state
});
}```
and then the state
```this.state = {
studentSelections: [],
lessonSelections: [],
materialSelections: [],
student: '',
lessons: [],
materials: [],
data: {},
};```
I'm just lost on how I can select multiple values like how it is in the storybook
I cannot select multiple values without holding
Cmd
keyMy usage of SelectSearch in the component
<SelectSearch search multiple emptyMessage="Cannot find class" options={this.state.lessonSelections}
placeholder="Class" closeOnSelect={false} printOptions="on-focus"
className='select-search' onChange={this.handleLessonsChange.bind(this)} />
My
handleLessonsChange