feat(SelectMenu): add clearble

This commit is contained in:
rdjanuar
2024-11-08 14:02:54 +07:00
parent 56e28d80db
commit 592da565fe
4 changed files with 73 additions and 26 deletions

View File

@@ -9,6 +9,7 @@ export default {
color: 'white',
variant: 'outline',
loadingIcon: 'i-heroicons-arrow-path-20-solid',
trailingIcon: 'i-heroicons-chevron-down-20-solid'
trailingIcon: 'i-heroicons-chevron-down-20-solid',
clerableIcon: 'i-heroicons-x-mark-20-solid'
}
}

View File

@@ -23,6 +23,7 @@ export default {
default: {
selectedIcon: 'i-heroicons-check-20-solid',
clearSearchOnClose: false,
closeOnClear: true,
showCreateOptionWhen: 'empty',
searchablePlaceholder: {
label: 'Search...'