fix(Select): Set `aria-invalid` attribute in non-editable mode as well

pull/6814/head
Árpád Illyés 2024-11-19 11:41:18 +01:00 committed by GitHub
parent 3c426a1386
commit ffda680738
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@
:aria-expanded="overlayVisible" :aria-expanded="overlayVisible"
:aria-controls="id + '_list'" :aria-controls="id + '_list'"
:aria-activedescendant="focused ? focusedOptionId : undefined" :aria-activedescendant="focused ? focusedOptionId : undefined"
:aria-invalid="invalid || undefined"
:aria-disabled="disabled" :aria-disabled="disabled"
@focus="onFocus" @focus="onFocus"
@blur="onBlur" @blur="onBlur"