Topic: Autocomplete Select Submits

dhermann premium asked 2 years ago


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


Thanks for reporting this bug. We will fix it as soon as possible



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • 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