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(PasswordInput): disable visibility toggle when input is disabled #7482

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Dec 18, 2020

Closes #7480

This PR disables the password visibility toggle when the password input itself is disabled

Changelog

Changed

  • attach disabled prop to password visibility toggle button
  • hide tooltip on mouseover when disabled

Testing / Reviewing

Confirm that the password visibility toggle does not activate when the input is disabled

@netlify
Copy link

netlify bot commented Dec 18, 2020

✔️ Deploy preview for carbon-elements ready!

🔨 Explore the source changes: 057cccc

🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-elements/deploys/6007894bfe7ae300073a81a8

😎 Browse the preview: https://deploy-preview-7482--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Dec 18, 2020

✔️ Deploy preview for carbon-components-react ready!
Built without sensitive environment variables

🔨 Explore the source changes: 057cccc

🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-components-react/deploys/6007894b0274780007f354bb

😎 Browse the preview: https://deploy-preview-7482--carbon-components-react.netlify.app

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

LGTM 👍 ✅

@andreancardona andreancardona merged commit 83ecc8d into carbon-design-system:master Jan 20, 2021
@emyarod emyarod deleted the 7480-disabled-password-input-show-hide branch January 20, 2021 15:23
@emyarod emyarod mentioned this pull request Jan 22, 2021
46 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PasswordInput: Show/Hide password button is not disabled
4 participants