How do I force the mdb-auto-completer to open when the input


Topic: How do I force the mdb-auto-completer to open when the input gains focus

Corneil Du Plessis pro premium asked 4 weeks ago

I would like the mdb-auto-completer to open when the associated input gains focus. I already have code to select all text when the input gains focus so that typing will start with fresh input. However when the user clicks on the input I would like to open the auto-completer from the same function.


Arkadiusz Idzikowski staff commented 4 weeks ago

The component should open on focus by default. Can you add some example code to your post so we can better understand the problem?


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: Angular
  • MDB Version: 10.1.1
  • Device: Browser
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No