Validation does not work with vue and mdb-input for html att


Topic: Validation does not work with vue and mdb-input for html attribute such as minlength="8"

jann_ro asked 4 years ago

Expected behavior If I use the attribute minlength="8" in vue mdb-input, validation should fail if string value is shorter than 8 characters

Actual behavior Validation successful

Resources (screenshots, code snippets etc.)


Mikołaj Smoleński staff commented 4 years ago

In such case we strongly recommend to use custom validation: https://mdbootstrap.com/docs/vue/forms/validation/#custom-validation

Best regards


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.7.2
  • Device: Windows
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No