Topic: Autocomplete Validation not working

Tobias.Weber priority asked 1 year ago

*Expected behavior*Autocomplete should only be valid if a user select a value from the dropdown list.

*Actual behavior*If I use :isValidated="false" and :isValid="false" it will be directly overwritten if one character is typed in the text field and the field is now valid.

Bartosz Cylwik staff answered 1 year ago

Hi! This validation is working thanks to required props in autocomplete component and is checking if the input is empty or not. Unfortunately Autocomplete is not supported by our validation for now (validation). We will discuss this in our team. Best Regards!

Tobias.Weber priority commented 1 year ago

Thank you. There is a Validation Section in the Autocomplete Element Documentation ( so it suggests that this function exists. Hopefully the very important function will be available in the next release :-)

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: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 3.1.0
  • Device: Windows
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes