(react) add onSearchInputChange callback to searchable select

We want to be able to notify an event when the search term of the
searchable select gets updated.
This commit is contained in:
Nathan Vasse
2024-02-26 14:41:15 +01:00
committed by NathanVss
parent 680365a117
commit 04ab3306e2
8 changed files with 142 additions and 3 deletions

View File

@@ -26,6 +26,8 @@ You can enable the text live filtering simply by using the `searchable` props.
<Story id="components-forms-select-multi--searchable-uncontrolled"/>
</Canvas>
> You can use `onSearchInputChange` to get the value of the input when the user is typing.
## States
You can use the following props to change the state of the Multi-Select component by using the `state` props.