Buefy: Validations- How to validate different buefy components.

Created on 5 Mar 2018  路  3Comments  路  Source: buefy/buefy

Buefy version: 0.6.3
Vuejs version: 2.5.13
OS/Browser: Windows 10/ Chrome

I have a few buefy components on my form and I am trying to do the required validation. There is not much documentation around it but I have found a jsfiddle example to validate b-input which worked like charm, however, I was not able to validate other components in my form. Any examples of validating different buefy components, customizing the default error messages, multiple checkbox validation(atleast one to be selected) etc would be greatly appreciated.

feature request improvement

Most helpful comment

I have been using monterail/vuelidate as a library for doing validatiosn, from simple ones, to some more complex ones, that is designed to work with Vue.

All 3 comments

@abhinukala We thought about an example in extension docs section with an external library (what library we have to decide yet)

I have been using monterail/vuelidate as a library for doing validatiosn, from simple ones, to some more complex ones, that is designed to work with Vue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

evandroabukamel picture evandroabukamel  路  3Comments

akubasa picture akubasa  路  3Comments

ravenvn picture ravenvn  路  3Comments

OGhawsi picture OGhawsi  路  3Comments

dangminhtruong picture dangminhtruong  路  3Comments