Commit bede4ed3 authored by Boris Kocherov's avatar Boris Kocherov

use key with schema.title for circular schemas where title do not have meaning

parent 4ec9a1c3
...@@ -729,7 +729,9 @@ ...@@ -729,7 +729,9 @@
gadget.props.property_name_edit = label; gadget.props.property_name_edit = label;
} else { } else {
label = document.createElement("label"); label = document.createElement("label");
label.textContent = json_field.title || key; label.textContent = [key, json_field.title]
.filter(function (v) { return v; })
.join(" ");
} }
div.appendChild(label); div.appendChild(label);
div_input = document.createElement("div"); div_input = document.createElement("div");
......
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