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

[TextInput] Add an alternate disabled email field <--> Text #272

Open
shindigira opened this issue Jan 8, 2024 · 1 comment
Open

[TextInput] Add an alternate disabled email field <--> Text #272

shindigira opened this issue Jan 8, 2024 · 1 comment

Comments

@shindigira
Copy link
Contributor

shindigira commented Jan 8, 2024

Proposed Change

  • Use a prop to toggle the disabled state between an intendedvalue (i.e. email) and an actual disabled field

Disabled

Screenshot 2024-01-08 at 1 58 45 PM

Text Replacement

Screenshot 2024-01-08 at 1 58 34 PM
@billhimmelsbach
Copy link
Contributor

billhimmelsbach commented Jan 8, 2024

For context here's some of the code involved implemented in the SBL-Frontend PR that might need to make its way to the DSR:
cfpb/sbl-frontend@d8cfb37#diff-9ae2ac08a4ba433ba442f928bf28d6c4b16458cfc580164a7bb93637571d7f62R27

@shindigira shindigira changed the title [TextInput] Add an alternate disabled email field <--> Text [DisplayField] Add an alternate disabled email field <--> Text Jan 8, 2024
@shindigira shindigira changed the title [DisplayField] Add an alternate disabled email field <--> Text [TextInput] Add an alternate disabled email field <--> Text Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants