feat(SelectMenu): add prop to disable search

This commit is contained in:
Benjamin Canac
2024-07-10 12:56:38 +02:00
parent 781047eacb
commit db30284e7a
3 changed files with 502 additions and 445 deletions

View File

@@ -45,6 +45,7 @@ describe('SelectMenu', () => {
['with name', { props: { ...props, name: 'name' } }],
['with placeholder', { props: { ...props, placeholder: 'Search...' } }],
['with searchPlaceholder', { props: { ...props, searchPlaceholder: 'Filter items...' } }],
['without search', { props: { ...props, search: false } }],
['with disabled', { props: { ...props, disabled: true } }],
['with required', { props: { ...props, required: true } }],
['with icon', { props: { ...props, icon: 'i-heroicons-magnifying-glass' } }],