Replies: 3 comments 2 replies
-
Use the composition API. There is no way to access the |
Beta Was this translation helpful? Give feedback.
-
@logaretm can you show me an example of the simplest sandbox you have on hand somewhere? (I searched for awhile and they were all very complicated). Everything else is perfect I just need that one single thing. |
Beta Was this translation helpful? Give feedback.
-
When I say "Simple" what I'm really saying is... an example that still leaves 99% of the work on and uses the absolute bare minimum required for useForm (I assume useForm is what I have to use?). Im saying it this way because I've already written an absolutely enormous complicated form, and all I need is that one very small bit. I'm hoping I can continue to use and only perhaps pull out an extra function or two. |
Beta Was this translation helpful? Give feedback.
-
I'm using
<Form>
like this:<base-form v-slot="{ values, setFieldValue }" ...
(I renamed it like this:)
import { Form as BaseForm } from 'vee-validate';
The problem is I have a
schema
computed property (a reactive validation schema) that depends on one of the field values (billingSame).How can I access
values
incomputed
as it's only available asv-slot
in the template area?Thanks
Beta Was this translation helpful? Give feedback.
All reactions