Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Mar 3, 2024
Merged

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

merged 3 commits into from
Mar 3, 2024

Conversation

kuri-sun
Copy link
Contributor

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

Copy link

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

Copy link

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

Copy link

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
Member

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

@kuri-sun
Copy link
Contributor Author

kuri-sun commented Feb 18, 2024

@jrgarciadev Absolutely!

@@ -0,0 +1,5 @@
---
"@nextui-org/autocomplete": major
Copy link
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
7 of 8 checks passed
@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
2 participants