We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7afa467 commit 569b702Copy full SHA for 569b702
generator/templates/Crud/src/components/BaseForm.vue
@@ -33,12 +33,12 @@
33
},
34
valid: {
35
handler() {
36
- this.$emit('input', {values: this.values, valid: this.valid});
+ this.handleFormEmit();
37
38
39
values: {
40
41
42
43
deep: true,
44
@@ -71,6 +71,12 @@
71
setFormValues(values) {
72
return values;
73
74
+ handleFormEmit() {
75
+ clearTimeout(this.emitTimeout);
76
+ this.emitTimeout = setTimeout(() => {
77
+ this.$emit('input', {values: this.values, valid: this.valid});
78
+ }, 500);
79
+ },
80
81
};
82
</script>
0 commit comments