-
Notifications
You must be signed in to change notification settings - Fork 23
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(kinput): add show-masking-toggle prop [KHCP-13466] #2448
Conversation
✅ Deploy Preview for kongponents-sandbox ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kongponents ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
docs/components/input.md
Outdated
@@ -121,6 +121,28 @@ You may also specify a native `maxlength` attribute on the KInput to limit the n | |||
``` | |||
::: | |||
|
|||
### showMaskingToggle |
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.
suggestion: rename prop to showPasswordMaskToggle
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.
Done
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.
Co-authored-by: Adam DeHaven <2229946+adamdehaven@users.noreply.github.com>
<VisibilityOffIcon | ||
v-else | ||
decorative | ||
/> |
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.
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.
Oh good catch -- I looked at some other website to look up how they handle that but aligning with our login page makes more sense. Fixed.
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.
LGTM 👍
## [9.11.1](v9.11.0...v9.11.1) (2024-10-11) ### Bug Fixes * **kinput:** add show-masking-toggle prop [KHCP-13466] ([#2448](#2448)) ([0c876d0](0c876d0))
🎉 This PR is included in version 9.11.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Addresses: https://konghq.atlassian.net/browse/KHCP-13466
Add
showMaskingToggle
prop which allows toggling masking on and off whentype="password"