mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
fix jsonv literal on Field.tsx
This commit is contained in:
@@ -64,7 +64,7 @@ const FieldImpl = ({
|
||||
const id = `${name}-${useId()}`;
|
||||
const required = typeof _required === "boolean" ? _required : ctx.required;
|
||||
|
||||
if (!isTypeSchema(schema))
|
||||
if (!schema)
|
||||
return (
|
||||
<Pre>
|
||||
[Field] {path} has no schema ({JSON.stringify(schema)})
|
||||
|
||||
Reference in New Issue
Block a user