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 6ede21d commit 8d1a030Copy full SHA for 8d1a030
src/FormContainer.vue
@@ -70,21 +70,6 @@
70
return fields;
71
},
72
73
- scope () {
74
- const scope = {
75
- update: this.update,
76
- validateForm: this.validateForm,
77
- validateField: this.validateField,
78
- };
79
-
80
- defineReadOnlyProperty(scope, 'fields', () => this.fields);
81
- defineReadOnlyProperty(scope, 'errors', () => this.errors);
82
- defineReadOnlyProperty(scope, 'isValid', () => this.isValid);
83
- defineReadOnlyProperty(scope, 'isLoading', () => this.isLoading);
84
85
- return scope;
86
- },
87
88
isLoading () {
89
return this.ticks > 0;
90
@@ -146,7 +131,7 @@
146
131
147
132
148
133
render () {
149
- return this.$scopedSlots.default(this.scope);
134
+ return this.$scopedSlots.default(this);
150
135
}
151
136
};
152
137
</script>
0 commit comments