File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/vee-validate/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ type FormSlotProps = UnwrapRef<
1616 FormContext ,
1717 | 'meta'
1818 | 'errors'
19+ | 'errorBag'
1920 | 'values'
2021 | 'isSubmitting'
2122 | 'submitCount'
@@ -88,6 +89,7 @@ const FormImpl = defineComponent({
8889
8990 const {
9091 errors,
92+ errorBag,
9193 values,
9294 meta,
9395 isSubmitting,
@@ -146,6 +148,7 @@ const FormImpl = defineComponent({
146148 function getMeta < TValues extends GenericFormValues = GenericFormValues > ( ) {
147149 return deepCopy ( meta . value ) as FormMeta < TValues > ;
148150 }
151+
149152 function getErrors < TValues extends GenericFormValues = GenericFormValues > ( ) {
150153 return deepCopy ( errors . value ) as FormErrors < TValues > ;
151154 }
@@ -154,7 +157,8 @@ const FormImpl = defineComponent({
154157 return {
155158 meta : meta . value ,
156159 errors : errors . value ,
157- values : values ,
160+ errorBag : errorBag . value ,
161+ values,
158162 isSubmitting : isSubmitting . value ,
159163 submitCount : submitCount . value ,
160164 controlledValues : controlledValues . value ,
You can’t perform that action at this time.
0 commit comments