Commit 1cffe324 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 0236f68b
Pipeline #38452 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