-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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(Search): add disabled
prop
#6916
fix(Search): add disabled
prop
#6916
Conversation
Deploy preview for carbon-elements ready! Built with commit 033c992 |
8ca6014
to
1514972
Compare
Deploy preview for carbon-components-react ready! Built with commit 8ca6014 https://deploy-preview-6916--carbon-components-react.netlify.app |
Yes, the icon should also be |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit 033c992 https://deploy-preview-6916--carbon-components-react.netlify.app |
I don't think the component currently changes the icon color when you add the |
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.
Looks great! 👍 ✅
bump @andreancardona when you get a sec today 👀 |
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.
@emyarod looks good :)
Closes #6915
This PR adds an explicit
disabled
prop and prop type definition to the Search component and updates the corresponding stories. Even though the prop currently works as expected, we should document this prop separately and add it to the storybookChangelog
New
disabled
prop on Search component and storiesTesting / Reviewing
Confirm that the Search component disabled state is still applied when passing in the
disabled
prop, and that there are no style regressions due to missing or incorrect selectors (the styles are already in the library)