-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
IE Edge Validation doesn't work after initial validation error #1854
Comments
I see you are using Creating a live example would greatly help me debug this, please create one using jsfiddle or codesandbox. |
its standard bootstrap-vue component |
Looks like Still, there is still an issue with custom validity for IE Edge which prevents correctly picking up the values when you submit a second time, I have fixed that in the commit. |
The
|
@DM2489 Thanks for the follow-up, good news 👍 |
Versions
Describe the bug
In IE Edge (Microsoft Edge 42.17134.1.0) After raising a required error, Vee-validate doesn't realise that the user has inputted value in the field. And it keeps on displaying the validation error
this is what I have in
app.js
Vue.use(VeeValidate, { validity: true, useConstraintAttrs: false, events: 'change|blur|custom', fieldsBagName: 'validationFields'})
in vue
<b-form-input type="text" name="username" v-validate="'required'" id="username" v-model.trim="username" placeholder="user name"></b-form-input><span class="text-danger">{{ errors.first('username') }}</span>
<b-form-input type="password" name="password" v-validate="'required'" id="password" v-model.trim="password" placeholder="password"></b-form-input><span class="text-danger">{{ errors.first('password') }}</span>
in computed:
var self = this; self.$validator.validate().then(result => { if (result) { return this.logIn({ username: self.username, password: self.password, }) ....
To reproduce
Steps to reproduce the behavior:
Expected behavior
validation should work on change across browsers
Desktop (please complete the following information):
Reproduction link
https://codesandbox.io/s/k9xw06pwqv
The text was updated successfully, but these errors were encountered: