Topic: autocomplete methods

Linga premium asked 1 year ago

autocomplete close method is not working in functions by using refs

Bartosz Cylwik staff answered 1 year ago

Hi! I cannot access the snippet so im not sure if my snippet will help you.

I created a simple autocomplete input and added a button that will close the autocomplete popper. To make the popper stay after clicking outside I added keepOpen prop to the MDBAutocomplete component. You can find the snippet here:

If your issue is resolved, please let me know in a comment, and if it's still there, can you check if there is a publish button in the top right corner (next to save button)? Click on it, otherwise please share some code here. Best Regards!

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: Premium
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 3.2.0
  • Device: Windows 10
  • Browser: mozilla firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes