Topic: Validation does not work with vue and mdb-input for html attribute such as minlength="8"
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.)
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
Related topics
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