Skip to content

Commit 3c95c04

Browse files
committed
fix: add name and id attributes to afcl select input for better accessibility
AdminForth/1868/disable-autofill-for-these-fie
1 parent 46fcf03 commit 3c95c04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎adminforth/spa/src/afcl/Select.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
placeholder-lightDropdownButtonsPlaceholderText text-lightDropdownButtonsText text-base sm:text-sm transition duration-150 ease-in-out dark:bg-darkDropdownButtonsBackground dark:border-darkDropdownButtonsBorder dark:placeholder-darkDropdownButtonsPlaceholderText
1515
dark:text-darkDropdownButtonsText focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary"
1616
:class="[{'cursor-pointer': searchDisabled}, classesForInput]"
17-
autocomplete="off" data-custom="no-autofill"
17+
autocomplete="off" data-custom="no-autofill" name="afcl-select-input" id="afcl-select-input"
1818
:placeholder="
1919
selectedItems.length && !multiple ? '' : (showDropdown ? $t('Search') : placeholder || $t('Select...'))
2020
"

0 commit comments

Comments
 (0)