Fixxed bugs Form Validation
This commit is contained in:
@@ -262,6 +262,7 @@ const formId = `f-${Math.random().toString(36).slice(2)}`;
|
|||||||
const schema = getSchema();
|
const schema = getSchema();
|
||||||
|
|
||||||
console.log(schema);
|
console.log(schema);
|
||||||
|
console.log(schema.shape);
|
||||||
console.log(schema.shape[name]);
|
console.log(schema.shape[name]);
|
||||||
|
|
||||||
if (!schema || !schema.shape || !schema.shape[name]) return;
|
if (!schema || !schema.shape || !schema.shape[name]) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user