Topic: How do I force the mdb-auto-completer to open when the input gains focus
Corneil Du Plessis premium asked 3 years 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Opened
Specification of the issue
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: 10.1.1
- Device: Browser
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 3 years 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?