[FIX] web_editor: auto-trim values read on user value widgets

This commit is contained in:
qsm-odoo
2019-12-13 17:18:13 +00:00
parent 2feb17cc0a
commit 2dad879fad
@@ -249,7 +249,7 @@ const UserValueWidget = Widget.extend({
this._methodsParams.optionsPossibleValues = {};
for (const key in this.el.dataset) {
const dataValue = this.el.dataset[key];
const dataValue = this.el.dataset[key].trim();
if (validMethodNames.includes(key)) {
this._methodsNames.push(key);