Add ReadOnly functionality to DatePicker component #9256
Labels
proposal: accepted
This request has gone through triaging and we are accepting PR's against it.
type: enhancement 💡
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.
The text was updated successfully, but these errors were encountered: