-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(PasswordInput): sync input type prop and state #8368
feat(PasswordInput): sync input type prop and state #8368
Conversation
c204da4
to
9fce269
Compare
Deploy preview for carbon-elements ready! Built with commit f1e490b |
Deploy preview for carbon-components-react ready! Built with commit c204da4 https://deploy-preview-8368--carbon-components-react.netlify.app |
Deploy preview for carbon-components-react failed. Built without sensitive environment variables with commit f1e490b https://app.netlify.com/sites/carbon-components-react/deploys/609d44d48464690007775a27 |
c5e979e
to
f48d71e
Compare
aaf2bb5
to
65ea019
Compare
Is this one intended to be fully controlled/uncontrolled or is it more the more hybrid pattern where it has internal state and then if the prop passed in changes it updates? |
the component should now follow this pattern |
26a858c
to
83fc743
Compare
280c47a
to
41ec341
Compare
these are not regressions and should be addressed separately (the portions of code this PR modifies are unrelated) |
Sounds good! |
1ff244a
to
aaaffe8
Compare
This PR deprecates
TextInput.ControlledPasswordInput
and adds support for control over the password input field type in theTextInput.PasswordInput
this PR includes changes from #8366 so we should review and merge those changes first
Testing / Reviewing
Confirm that the controlled password input story which uses
TextInput.PasswordInput
instead ofTextInput.ControlledPasswordInput
functions as expected