Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Date field cannot be exited using tab #390

Open
lordpomeroy opened this issue May 21, 2020 · 1 comment
Open

Date field cannot be exited using tab #390

lordpomeroy opened this issue May 21, 2020 · 1 comment
Labels
effort-medium This might take a while f-change-patient-data Issues realted to making changes of patient data in the DB f-patient-registration Issues related to patient registration feature (not self regist.) f-self-registration Issues related to patient self registration feature QoL Quality of life UX User Experience issues

Comments

@lordpomeroy
Copy link
Contributor

Issue:
When clicking into a date field the date picker popup is not closed automatically when using the tabulator key. The user has to click into the next field which slows down the input process.

Wanted solution:
The form should be navigable using the keyboard only.

@lordpomeroy lordpomeroy added QoL Quality of life f-self-registration Issues related to patient self registration feature f-patient-registration Issues related to patient registration feature (not self regist.) f-change-patient-data Issues realted to making changes of patient data in the DB labels May 21, 2020
@JonasCir JonasCir added the UX User Experience issues label May 21, 2020
@jabrandes
Copy link
Collaborator

The solution could be quite hard to implement, actually. I did some digging in the AntDV source code and it seems that one cannot simply handle keypress events or similar on the DatePicker component, since the corresponding events are processed internally and won't be emitted for external listeners. At least with the Vue way of life. I could imagine that good old addEventListener on the input DOM node might work though.

@jabrandes jabrandes added the effort-medium This might take a while label May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
effort-medium This might take a while f-change-patient-data Issues realted to making changes of patient data in the DB f-patient-registration Issues related to patient registration feature (not self regist.) f-self-registration Issues related to patient self registration feature QoL Quality of life UX User Experience issues
Projects
None yet
Development

No branches or pull requests

3 participants