Closed william-lai-927 closed 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/
string
*P.S. the old format works on boolean & number, just not string. Probably version updated
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/