vee-validate icon indicating copy to clipboard operation
vee-validate copied to clipboard

validateField can't access nested properties

Open LiuLiTheRiver opened this issue 1 year ago • 1 comments

image image image

https://github.com/logaretm/vee-validate/blob/b251ad0c48f9f7e7415a2764270a912273416fe5/packages/vee-validate/src/useForm.ts#L930

LiuLiTheRiver avatar Jun 06 '24 07:06 LiuLiTheRiver

same error

image

If the path uses jobs[${props.index}].name, it can be validated correctly; however, TypeScript validation does not pass.

If the path uses jobs.${props.index}.name, it cannot be validated.

Zhuzhenghao avatar Aug 14 '24 06:08 Zhuzhenghao