Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formValidator.validate() should eval children #18

Open
tonypee opened this issue Dec 9, 2016 · 0 comments
Open

formValidator.validate() should eval children #18

tonypee opened this issue Dec 9, 2016 · 0 comments

Comments

@tonypee
Copy link

tonypee commented Dec 9, 2016

on submit of the form, i want all of the form elements to pass validation, otherwise show that they are invlid, currently i am hacking the formValidator to do this:

this.$refs.formValidator.children.forEach(el => el.eval()) // hack to validate form

should eval() be called on formValidator.validate()

The form validation in vue-strap seems a little shakey, id like to give it some love, but dont really know what you guys are aiming for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant