-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Integration with vee validate #337
Integration with vee validate #337
Conversation
Opps! thanks @aayaresko :) We may start deprecating Also why |
hm... I think you're right. in fact these changes was made hastily... sorry about that. |
I'll create an issue and describe the error I've encountered in that issue. I hope we'll find out the way we can fix that issue :) |
This should fix this issue Vue.use(VeeValidate, config); |
An alternative name for |
PR is conflicting with master. Also there are some big changes in validation system of BS4 rcs. Will certainly fix and provide some docs for that before 1.0 :) Also @arivera12 approach will be temporary fix for vue-validatee integration for now. Thanks for PR :) |
Is there any progress with integrating vee-validate? |
There is a bit of churn with Bootstrap 4's form validation styling, so we're stuck waiting out their next wave of changes for beta2. Hopefully it can stabilize so we can stabilize our form API. At that point, we can look at incorporating validation libs like vee validate. |
@alexsasharegan, thanks a lot for the clarification. |
Vue Bootstrap says form validation methods are coming soon? By this do you mean you are looking to integrate boostrap-vue with vee-validate or implement your own actual validation library? |
The coming soon refers to added documentation regarding the new Boostrap V4.beta native browser validation (i.e. HTML5 validation attributes such as Note that the new Bootstrap V4.beta valuation contextual states are lacking compared to previous version of bootstrap. There are two types of
See https://getbootstrap.com/docs/4.0/components/forms/#validation for details. We intend to base the documentation on Bootstraps Validation section, with adjustments to reflect usage with Bootstrap-Vue |
Now |
It can be used, but there are some conflicts with prop names that you need to override. See way above. |
@tmorehouse If you're about |
Bootstrap V4.beta uses completely different classes for validation compared to the alpha version. Bootstrap V4,.beta has serious issue with the new validation states/methodology, and (requires careful placement of the invalid-feedback container.... which doesn't work in many situations - i.e. input-groups, etc). Also the invalid-feedback still shows when the form-input is considered valid... Extremely buggy at the moment |
'cause both vee-validate and table component from the package are using same instance prop ('fields'), the latest constantly falling down during execution. to eliminate this problem I renamed 'fields' prop to 'tableFields'. also 'items' renamed to 'tableItems' for integrity.