-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: isReadOnly in Autocomplete #2429
Conversation
🦋 Changeset detectedLatest commit: 91ebc4a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@wingkwong is attempting to deploy a commit to the NextUI Inc Team on Vercel. A member of the Team first needs to authorize it. |
@wingkwong please remove the clear "X" button |
@jrgarciadev just added. |
@wingkwong i mean if the isReadOnly is true we should no display the clear button |
@jrgarciadev sorry for misunderstanding. updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! @wingkwong
Closes #2420
📝 Description
isReadOnly
example in storybook⛳️ Current behavior (updates)
when
isReadOnly
is set, users🚀 New behavior
when
isReadOnly
is set, users💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
When someone prefer to not open the listbox, then they should use
isDisabled
instead.