fix(components): autocomplete, tabIndex is not passed on input (#2375)

* fix(components): autocomplete, tabIndex is not passed on input

* fix(components): autocomplete, tabIndex is not passed on input

* Update metal-gorillas-dress.md
This commit is contained in:
HaRuki 2024-03-04 08:37:11 +09:00 committed by GitHub
parent 2dc5adb6e0
commit e12f3faa81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@nextui-org/autocomplete": patch
---
autocomplete, tabIndex is not passed on input

View File

@ -356,9 +356,9 @@ export function useAutocomplete<T extends object>(originalProps: UseAutocomplete
const getInputProps = () =>
({
...slotsProps.inputProps,
...otherProps,
...inputProps,
...slotsProps.inputProps,
onClick: chain(slotsProps.inputProps.onClick, otherProps.onClick),
} as unknown as InputProps);