Topic: mdb-autocomplete auto open on focus

itay pro asked 5 years ago

Hi, My users don't know that a field in auto complete from which they can select so I want to open the list on focus so that they will be enable to scroll select like a select box or start entering text which will filter the list. I tried [minSearchLength]="0" but it doesn't search when the search length is 0 as supposed to. What can I do to open the list on focus ? Thanks

Arkadiusz Idzikowski staff answered 5 years ago

Hello, Please try to use openOnFocus="true' input. Regards, Arek

Sergii pro commented 5 years ago

It works for me.

Thank you,


itay pro commented 4 years ago

Excellent !!!!!!!!!!!

ahadortiz free commented 4 years ago

I need this function for react component But openOnFocus doesn't work. Any advice?


Arkadiusz Idzikowski staff commented 4 years ago

Please open a new ticket in the React section.

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: No
  • Provided link: No