fix: display description for anyOf fields in JSON editor

This commit is contained in:
Dale Seo 2025-12-14 19:13:37 -05:00 • committed by Dale Seo
commit 6eed736d23

View file

@ -757,6 +757,7 @@ const DynamicJsonForm = forwardRef<DynamicJsonFormRef, DynamicJsonFormProps>(
debouncedUpdateParent(newValue);
}}
error={jsonError}
placeholder={schema.description}
/>
) : // If schema type is object but value is not an object or is empty, and we have actual JSON data,
// render a simple representation of the JSON data