[fix] add focus state and aria to select components (#5596)

* [fix] add focus state and aria to select components

* [fix] typo in gitignore

* [fix] code review feedback
This commit is contained in:
Arjan Singh
2025-09-15 14:48:52 -07:00
committed by GitHub
parent 9918914b9d
commit 62897c669b
8 changed files with 881 additions and 18 deletions

View File

@@ -3,6 +3,7 @@ import type { MultiSelectProps } from 'primevue/multiselect'
import { ref } from 'vue'
import MultiSelect from './MultiSelect.vue'
import { type SelectOption } from './types'
// Combine our component props with PrimeVue MultiSelect props
// Since we use v-bind="$attrs", all PrimeVue props are available
@@ -17,7 +18,7 @@ interface ExtendedProps extends Partial<MultiSelectProps> {
popoverMinWidth?: string
popoverMaxWidth?: string
// Override modelValue type to match our Option type
modelValue?: Array<{ name: string; value: string }>
modelValue?: SelectOption[]
}
const meta: Meta<ExtendedProps> = {