Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Tabindex being ignored in mdb select

SmartPayrollDevelopment priority asked 2 years ago


We are having trouble setting tabindex on the mdb select components

Expected - tabindex should be hit in sequence with other controls

Actual - tabindex is ignored (is set to the rendered select, seems like it needs to be rendered to the input control as well)

See https://mdbootstrap.com/snippets/standard/smartpayrolldevelopment/4007727

Even though tabindex is set to 2, the select is skipped. Have tested this with latest mdb version as well.


Kamila Pieńkowska staff answered 2 years ago


It seems that when using specific values of tabindex select is focused in the wrong order. We've added this as new task to be fixed soon.

In the mean time if you want to be able to focus on the elements in the order in which they are in your HTML file, the way to get the result you want is to set tabindex of all focusable elements to 0.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.5.1
  • Device: PC
  • Browser: Any
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes