-
Is it possible to get schema passed in Or maybe exist another way to get passed schema. |
Beta Was this translation helpful? Give feedback.
Answered by
logaretm
Sep 30, 2022
Replies: 1 comment 1 reply
-
There is a hacky way: import { FormContextKey } from 'vee-validate';
const form = inject(FormContextKey)
form.schema // this is the schema.. May I ask why you need it? if you are thinking about modifying it then I wouldn't recommend that. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
k0mar12
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a hacky way:
May I ask why you need it? if you are thinking about modifying it then I wouldn't recommend that.