We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5224932 commit 15cf495Copy full SHA for 15cf495
src/core/json-schema-components.js
@@ -36,7 +36,7 @@ export class JsonSchemaForm extends Component {
36
37
let { type, format="" } = schema
38
39
- let Comp = format ? getComponent(`JsonSchema_${type}_${format}`) : getComponent(`JsonSchema_${type}`) || getComponent("JsonSchema_string")
+ let Comp = (format ? getComponent(`JsonSchema_${type}_${format}`) : getComponent(`JsonSchema_${type}`)) || getComponent("JsonSchema_string")
40
return <Comp { ...this.props } fn={fn} getComponent={getComponent} value={value} onChange={onChange} schema={schema}/>
41
}
42
0 commit comments