Topic: Datepicker opens when pressing enter key on separate text input
fgwebdev free asked 4 years ago
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.
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.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.8
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No