Commit 848e3029 authored by Boris Kocherov's avatar Boris Kocherov

register array after rendering

parent a6f2c1ff
......@@ -676,6 +676,7 @@
// XXX update on every add/delete item
// input.hidden = maxItems !== undefined && json_document.length >= maxItems;
div_input.appendChild(input);
gadget.props.arrays[path] = div_input;
});
}
......@@ -870,7 +871,6 @@
first_path + '/',
schema_path
);
gadget.props.arrays[first_path + '/'] = div;
}
if (!input && type === "object") {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment