mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-27 00:38:46 +00:00
Fix most predicates not working
This commit is contained in:
2
view.js
2
view.js
@@ -403,7 +403,7 @@ function generateField(data, field, parent) {
|
||||
}
|
||||
childs.shift();
|
||||
}
|
||||
if (componentData === undefined) {
|
||||
if (componentData[childs[0]] === undefined) {
|
||||
if (field.type === 'object') {
|
||||
componentData[childs[0]] = {};
|
||||
} else if (field.type === 'enum' && field.default) {
|
||||
|
||||
Reference in New Issue
Block a user