Skip to content

Commit

Permalink
Add a changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
ynotdraw committed Jul 19, 2023
1 parent 89198b4 commit 1669550
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .changeset/bright-spies-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
'@crowdstrike/ember-toucan-core': patch
---

Added an `Multiselect` component.

It has a similar API to `Autocomplete`, but allows for selecting multiple options rather than only one.

```hbs
<Form::Controls::Multiselect
@onChange={{this.onChange}}
@options={{this.options}}
@contentClass='z-10'
@removeButtonLabelFunction={{this.removeButtonLabelFunction}}
@selected={{this.selected}}
@optionKey='label'
@noResultsText='No results'
placeholder='Colors'
as |multiselect|
>
<multiselect.Option>
{{multiselect.option.label}}
</multiselect.Option>
</Form::Controls::Multiselect>
```

0 comments on commit 1669550

Please sign in to comment.