Topic: Autocomplete Select Submits
Expected behavior
When using keyboard to navigate Autocomplete dropdown, enter key will select item but also submits form (if inside a form tag).
https://mdbootstrap.com/snippets/standard/dhermann/4028785
Actual behavior
If using enter to select an Autocomplete dropdown item, form should not submit. This is not a good experience for keyboard users.
Resources (screenshots, code snippets etc.)
Grzegorz Bujański staff answered 2 years ago
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 4.1.0
- Device: Desktop
- Browser: Safari
- OS: macOS Monterrey 12.0.1
- Provided sample code: No
- Provided link: Yes