Skip to content

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

Merged
jrgarciadev merged 3 commits into
heroui-inc:mainfrom
kuri-sun:fix/components/autocomplete-tabIndex-is-not-passed-on-input
Mar 3, 2024
Merged

fix(components): autocomplete, tabIndex is not passed on input#2375
jrgarciadev merged 3 commits into
heroui-inc:mainfrom
kuri-sun:fix/components/autocomplete-tabIndex-is-not-passed-on-input

Conversation

@kuri-sun
Copy link
Copy Markdown

Closes #2372

📝 Description

Autocomplete, tabIndex is not passed on input

⛳️ Current behavior (updates)

inputProps don't get passed down to the input element.

🚀 New behavior

It is used to otherProps override slotsProps.inputProps. Now slotsProps.inputProps(user input) takes precedence over.

💣 Is this a breaking change (Yes/No):

No.

📝 Additional Information

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 18, 2024

🦋 Changeset detected

Latest commit: cbba71f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@nextui-org/autocomplete Patch
@nextui-org/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextui-storybook-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2024 9:33pm

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 18, 2024

@kuri-sun is attempting to deploy a commit to the NextUI Team on Vercel.

A member of the Team first needs to authorize it.

@jrgarciadev
Copy link
Copy Markdown
Member

Good catch! @kuri-sun could you please add the changeset?

@kuri-sun
Copy link
Copy Markdown
Author

kuri-sun commented Feb 18, 2024

@jrgarciadev Absolutely!

Comment thread .changeset/metal-gorillas-dress.md Outdated
@@ -0,0 +1,5 @@
---
"@nextui-org/autocomplete": major
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"@nextui-org/autocomplete": major
"@nextui-org/autocomplete": patch

@kuri-sun please update the changeset to be a patch

@jrgarciadev jrgarciadev merged commit e12f3fa into heroui-inc:main Mar 3, 2024
@kuri-sun kuri-sun deleted the fix/components/autocomplete-tabIndex-is-not-passed-on-input branch March 4, 2024 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autocomplete, tabIndex is not passed on input

3 participants