jaredpalmer/formik
在 GitHub 查看Is it possible to have a common general/default validation for all fields?
Open
#2,340 建立於 2020年3月4日
help wanted
描述
Can we have a common validation that every field validates with. This should work even in case of nested objects.
Eg: Object is as follows: { field1: "", field2: { field2A: [] field2B: "" }, field3: {[ field3Ai: [] field3Bi: "" ], [ field3Aii: [] field3Bii: "" ]} }