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

Add ReadOnly functionality to DatePicker component #9256

Closed
mkgallagher opened this issue Jul 22, 2021 · 2 comments
Closed

Add ReadOnly functionality to DatePicker component #9256

mkgallagher opened this issue Jul 22, 2021 · 2 comments
Labels
proposal: accepted This request has gone through triaging and we are accepting PR's against it. type: enhancement 💡

Comments

@mkgallagher
Copy link

Add readOnly modifier for DatePicker component that would remove the ability to edit/change the date

Once a user is done updating the field, and saves/confirms the change they shouldn't be able to change the date again. Thee user should only be able to review the dates if they choose to.

Currently I am implementing this by setting/checking a flag and returning a DatePicker when I want the user to be in edit mode, and returning a readOnly TextInput when I want the user to be in view mode.

@tw15egan tw15egan added proposal: open This request has gone through triaging. We're determining whether we take this on or not. and removed status: needs triage 🕵️‍♀️ labels Jul 23, 2021
@jnm2377 jnm2377 added proposal: accepted This request has gone through triaging and we are accepting PR's against it. and removed proposal: open This request has gone through triaging. We're determining whether we take this on or not. labels Aug 16, 2021
@jnm2377
Copy link
Contributor

jnm2377 commented Aug 16, 2021

Hey @mkgallagher 👋🏽 we have a workstream for read only inputs and will be working on adding this: #3018

@sstrubberg
Copy link
Member

This is being tracked in #12241.

@sstrubberg sstrubberg closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal: accepted This request has gone through triaging and we are accepting PR's against it. type: enhancement 💡
Projects
Archived in project
Archived in project
Development

No branches or pull requests

4 participants