MDBSelect - Setfocus problem


Topic: MDBSelect - Setfocus problem

WoMe asked 5 years ago

Expected behavior Setting the focus with JS on a MDBSelect ($(...).focus()), it should become the active control.

Actual behavior Very strange: if you set the focus with JS onto the MDBselect, THEN there is a onfocus-event (which does NOT come entering the control via mouse or keyboard), but the MDBselect is not active.

Kind regards, WoMe


Grzegorz Bujański staff commented 5 years ago

Hi.

I send you this snippet before: https://mdbootstrap.com/snippets/jquery/grzegorz-bujanski/1712853

I add focus with js here. And work fine. And focus event is triggered.

Best, Grzegorz


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.12.0
  • Device: x64
  • Browser: FF, Chrome
  • OS: Win
  • Provided sample code: No
  • Provided link: No