Topic: Disable select open on enter keypress
aztecadmin pro premium priority asked a year ago
I have an application being used on a mobile device and upon hitting enter they want to tab to the next input. That is easy enough with some vanilla js, however I am looking for a way to disable the select open when they do hit the enter key.
Kamila Pieńkowska staff answered a year ago
You can listen to open.mdb.select
event and if it was triggered by Enter
use preventDefault()
.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 6.4.1
- Device: PC
- Browser: Chrome
- OS: Windows 11
- Provided sample code: No
- Provided link: No