Commit 47ce31fb authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Léo-Paul Géneau

erp5_json_editor: Always drop the default

  Like it is done for option, remove default from schema after append the value into decription.
parent 37a38939
......@@ -69,6 +69,9 @@
schema.description = " (default: " + schema.default + ")";
}
}
if (schema.default !== undefined) {
delete schema.default;
}
return schema;
};
......
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