feat(SelectMenu): use UInput in search to handle props like icon

Resolves #2021
This commit is contained in:
Benjamin Canac
2024-11-10 23:22:44 +01:00
parent b0be26d67f
commit ff1e0798d3
6 changed files with 501 additions and 115 deletions

View File

@@ -49,6 +49,7 @@ describe('SelectMenu', () => {
['with placeholder', { props: { ...props, placeholder: 'Search...' } }],
['without searchInput', { props: { ...props, searchInput: false } }],
['with searchInput placeholder', { props: { ...props, searchInput: { placeholder: 'Filter items...' } } }],
['with searchInput icon', { props: { ...props, searchInput: { icon: 'i-lucide-search' } } }],
['with disabled', { props: { ...props, disabled: true } }],
['with required', { props: { ...props, required: true } }],
['with icon', { props: { icon: 'i-lucide-search' } }],