Topic: mdbSelect CustomValidation Problems

digitalmanagerguru free asked 4 years ago


Hi there,

found out some issues with customValidation on mdbSelect. And for what I've tested, it happens even on "multiple" select.

What really happens is this:

When I hit send, my customValidation becomes true, and the isValid is false. BUT it doesnt enter on the validate() mdbSelect function (because it doesnt detect the change on customValidation).

The easiest solution I found was to add a watch on the mdbSelect component like this:

isValid() { 
    this.validate(); 
},
customValidation(){ 
    this.validate(); 
},

Would be great to have this properly solved on the oficial release.

Best Regards


Magdalena Dembna staff commented 4 years ago

Can you share the entire code snippet so we could recreate this issue properly? Best regards, Magdalena



Please insert min. 20 characters.

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: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.7.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: No