Vue Form Validation


Topic: Vue Form Validation

support asked 3 years ago

Hi guys, I have two current issues and hope you have examples for me.

  1. How does one do validation with the Vue Pro form components? The demos only show plain html version.

  2. How does one set the default value for mdb-textarea I tried binding :value , as well as putting the value in the default slot and the fields does not show the text?

Many thanks,

Dave.


Mikołaj Smoleński staff answered 3 years ago

Hi there,

Ad 1. For this moment we don't provide material inputs form validation, but it will be available in one of the next releases.

Ad 2. In textarea 'value' prop should work. In advance, with the next release (04.02) You will have the possibility to use textarea like this:

<mdb-input type="textarea" ... />

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

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 4.8.2
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: Mac High Sierra
  • Provided sample code: No
  • Provided link: No
Tags