Open marthakeezy opened 5 days ago
Checked in with @mark-prins - agree not ideal, but should affect a fairly small circle (only if you try to change the date after adding items, which is not the recommended workflow)
We can fix for 2.4 š
FYI this is due to the onBlur
being called when you click into the date picker on android, but not on desktop š¤·āāļø
What went wrong? š²
Issue 1 - the warning the lines will be removed appears straight away, without giving users a chance to even see the datetime picker. Should the flow be
user clicking on the datetime picker -> seeing the window -> clicking on the past date -> clicking Ok to confirm -> then only seeing the warning
?Or if the warning should appear before any actions are taken by users, then it shouldn't overlrap the datetime picker -> they should appear one by one.
Issue 2 - after cancelling out of the warning and clicking anywhere on the screen, the warning appears again
The video of the behaviour can be found ->>> here
Expected behaviour š¤
Issue 1 - user clicking on the datetime picker -> seeing the window -> clicking on the past date -> clicking Ok to confirm -> then only seeing the warning
Issue 2 - the warning should not appear twice if you cancel out of it earlier
How to Reproduce šØ
Steps to reproduce the behaviour:
Dispensary -> Prescriptions
Your environment š±