react-hook-form / resolvers

📋 Validation resolvers: Yup, Zod, Superstruct, Joi, Vest, Class Validator, io-ts, Nope, computed-types, typanion, Ajv, TypeBox, ArkType, Valibot, effect-ts and VineJS
https://react-hook-form.com/
MIT License
1.67k stars 151 forks source link

Update README.md #670

Closed william-lai-927 closed 3 months ago

william-lai-927 commented 3 months ago

From the Doc of valibot, the optional message is just apply when the type is not string, instead of using as 'required'. So the original is misleading. https://valibot.dev/api/string/

william-lai-927 commented 3 months ago

*P.S. the old format works on boolean & number, just not string. Probably version updated