Commit 327fe587 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_json_editor: Always drop the default

  Like it is done for option, remove default from schema after append the value into decription.
parent 1ce9ae40
Pipeline #38469 failed with stage
in 0 seconds
......@@ -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