diff --git a/src/view/form.js b/src/view/form.js index 1f1c58e09e..13257bbcc8 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -696,7 +696,8 @@ function eval_pyson(value){ if (this.attributes.name && record) { field = record.model.fields[this.attributes.name]; } - if (!this.attributes.string && field) { + if (!((this.attributes.string === undefined) | + this.attributes.string) && field) { var text = ''; if (record) { text = field.get_client(record) || '';