feat(SelectMenu): add clearble

This commit is contained in:
rdjanuar
2024-11-12 18:47:39 +07:00
parent 3a5960fb58
commit 5a414eb55a
6 changed files with 182 additions and 37 deletions

View File

@@ -156,7 +156,18 @@ Use the `searchableLazy` prop to control the immediacy of data requests.
---
component: 'select-menu-example-search-async'
componentProps:
class: 'w-full lg:w-48'
class: 'w-full lg:w-48'
---
::
## Clearable
Use the `clearable` prop to enable the remove selected option.
::component-example
---
component: 'select-menu-example-clearable'
componentProps:
class: 'w-full lg:w-52'
---
::