Skip to content

Commit 1d4125a

Browse files
authored
Merge branch 'master' into master
2 parents 305e6ee + 4b81aea commit 1d4125a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/core/json-schema-components.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ export class JsonSchemaForm extends Component {
5353
// In the json schema rendering code, we optimistically query our system for a number of components.
5454
// If the component doesn't exist, we optionally suppress these warnings.
5555
let getComponentSilently = (name) => getComponent(name, false, { failSilently: true })
56+
5657
let Comp = (format ?
5758
getComponentSilently(`JsonSchema_${type}_${format}`) :
5859
getComponentSilently(`JsonSchema_${type}`)) ||
5960
getComponentSilently("JsonSchema_string")
61+
6062
return <Comp { ...this.props } errors={errors} fn={fn} getComponent={getComponent} value={value} onChange={onChange} schema={schema} disabled={disabled}/>
6163
}
6264

src/core/plugins/view/root-injects.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const wrapRender = (component) => {
100100
return target
101101
}
102102

103+
103104
export const getComponent = (getSystem, getStore, getComponents, componentName, container, config = {}) => {
104105

105106
if(typeof componentName !== "string")

0 commit comments

Comments
 (0)