DatePicker Bugs
Created by: Binu42
Describe the bug
- select date input and date of data shown is not matching when demographics component mount.
- user can enter invalid date input.
- on click of input in date picker (in mobile) keyboard is opening which is awful.
To Reproduce Steps to reproduce the behavior:
- Go to Demographic page and see select date in empty.
- Click on select date and type anything from keyboard.
Expected behavior
- on mount select date and data shown date must match
- keyboard input should be restricted to entry of invalid dates.
- only date picker should open in mobiles after click of date picker input not keyboard.
Screenshots
on opening demographics page select date is empty and it's showing data of one day back.
entry on invalid date
keyboard opening in mobile view
Desktop (please complete the following information):
all OS, all Browser and all versions.
Smartphone (please complete the following information):
- Device: [all]
- OS: [all]
- Browser [all]
- Version [all]
i have raised PR #1327 to fix this issue.