mdbSelect CustomValidation Problems


Topic: mdbSelect CustomValidation Problems

digitalmanagerguru pro premium asked 2 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 premium commented 2 years ago

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


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: 6.7.1
  • Device: Desktop
  • Browser: Chrome
  • OS: Win.10
  • Provided sample code: No
  • Provided link: No
Tags