We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.label()
Hi there! When I want to use the zod schema declaration to add a custom label to it (with z.string().label('My label')) like in the docs https://vee-validate.logaretm.com/v4/guide/composition-api/custom-inputs#custom-field-labels, it errors:
z.string().label('My label')
Property label does not exist on type 'ZodString'
zod@3.22.4
@vee-validate/zod@4.12.6
vee-validate@4.12.6
const schema = z.object({ title: z.string().min(1).label('My label'), })
Vue.js 3.x and vee-validate 4.x
No response
Can be provided if needed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
Hi there! When I want to use the zod schema declaration to add a custom label to it (with
z.string().label('My label')
) like in the docs https://vee-validate.logaretm.com/v4/guide/composition-api/custom-inputs#custom-field-labels, it errors:Property label does not exist on type 'ZodString'
Reproduction steps
zod@3.22.4
,@vee-validate/zod@4.12.6
andvee-validate@4.12.6
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
Can be provided if needed
Code of Conduct
The text was updated successfully, but these errors were encountered: