-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
When I use this schema I get this error:
TypeError: Cannot read property 'hasOwnProperty' of undefined
Same happens when I use other HTML natives like 'div', but my custom components work fine as JS literals. Am I doing something wrong?
const hey = new ReactJsonSchema();
const schema = {
'component': "form",
'children': [
{
'component': Row,
'children': [
{
'component': Input,
'inColumn': true,
'label': 'What\'s your name',
'name': 'fullname',
'value': 'testing'
},
{
'component': Input,
'inColumn': true,
'label': 'hey',
'name': 'hey',
'value': 'hello'
}
],
}
]
}
{hey.parseSchema(schema)}
Metadata
Metadata
Assignees
Labels
No labels