Commit d0e105f1 authored by Boris Kocherov's avatar Boris Kocherov

use schema.title for const field

parent 2f3f2cfa
...@@ -265,7 +265,11 @@ ...@@ -265,7 +265,11 @@
g.props.changed = true; g.props.changed = true;
} }
input.setAttribute('data-origin-value', ser_const); input.setAttribute('data-origin-value', ser_const);
input.value = ser_const; if (schema.title) {
input.value = schema.title;
} else {
input.value = ser_const;
}
} else { } else {
input.value = ser_doc + '' + ser_const; input.value = ser_doc + '' + ser_const;
input.setAttribute('data-origin-value', ser_doc); input.setAttribute('data-origin-value', ser_doc);
......
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