Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rejectForm() {
- this.informationMessageRequired = true;
- this.$nextTick(async () => {
- try {
- const valid = await this.$validator.validateAll();
- if (valid) {
- if (!this.errors.any()) {
- console.log('dispatch');
- }
- } else {
- console.log('error');
- }
- } catch (e) {
- console.log(e);
- }
- });
- },
Add Comment
Please, Sign In to add comment