mdb-autocomplete auto open on focus


Topic: mdb-autocomplete auto open on focus

mdb2 pro asked 6 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 6 years ago

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

Sergii pro commented 6 years ago

It works for me.

Thank you,

Sergii


mdb2 pro commented 5 years ago

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

ahadortiz commented 5 years ago

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

Thanks


Arkadiusz Idzikowski staff commented 5 years ago

Please open a new ticket in the React section.


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
  • User: 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