diff --git a/src/core/json-schema-components.jsx b/src/core/json-schema-components.jsx index 6f6a0d3a61e..6c63263c555 100644 --- a/src/core/json-schema-components.jsx +++ b/src/core/json-schema-components.jsx @@ -53,7 +53,12 @@ export class JsonSchemaForm extends Component { // In the json schema rendering code, we optimistically query our system for a number of components. // If the component doesn't exist, we optionally suppress these warnings. let getComponentSilently = (name) => getComponent(name, false, { failSilently: true }) - let Comp = (format ? getComponentSilently(`JsonSchema_${type}_${format}`) : getComponentSilently(`JsonSchema_${type}`)) || getComponentSilently("JsonSchema_string") + + let Comp = (format ? + getComponentSilently(`JsonSchema_${type}_${format}`) : + getComponentSilently(`JsonSchema_${type}`)) || + getComponentSilently("JsonSchema_string") + return }