Merge pull request #12088 from hrwX/patch-1
fix: strip html before checking for null values
This commit is contained in:
commit
ee3c4943bf
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ frappe.ui.FieldGroup = frappe.ui.form.Layout.extend({
|
|||
var f = this.fields_dict[key];
|
||||
if (f.get_value) {
|
||||
var v = f.get_value();
|
||||
if (f.df.reqd && is_null(v))
|
||||
if (f.df.reqd && is_null(strip_html(v)))
|
||||
errors.push(__(f.df.label));
|
||||
|
||||
if (f.df.reqd
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue