Topic: Datepicker opens when pressing enter key on separate text input
Expected behavior Datepicker only opens when the associated input is clicked or given focus.
Actual behavior Datepicker opens when the enter key is pressed while a text input anywhere else on the page is highlighted. This includes standard text inputs as well as searchable select inputs. It only happens the first time the enter key is pressed.
exensio
pro priority vip early access answered a year ago
We have the same problem and here is an example snipet that shows the problem: https://mdbootstrap.com/snippets/jquery/exensio/1806375
It occurs as already said only the first time. In general the pressing of enter in a field should trigger the sending of the form and not openening the date picker.
Grzegorz Bujański staff commented a year ago
Hi, thank you for report this issue. We are currently planning to change ours datepicker, and then we will fix this.
Answered
- User: Free
- Premium support: No
- Technology: jQuery
- MDB Version: 4.8.8
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No
Grzegorz Bujański staff commented a year ago
Hi. Please update to 4.10.1
fgwebdev commented a year ago
Our download for 4.10.1 does not contain any files. 4.10.0 does not fix the issue.
Grzegorz Bujański staff commented a year ago
I can't reproduce this problem. Create a snippet here with the code that causes the problem: https://mdbootstrap.com/snippets/