Merge pull request #35846 from frappe/form-indicators
fix: form indicators
This commit is contained in:
commit
080d28b5b1
1 changed files with 3 additions and 1 deletions
|
|
@ -433,7 +433,9 @@ frappe.format = function (value, df, options, doc) {
|
|||
df._options = doc ? doc[df.options] : null;
|
||||
}
|
||||
|
||||
var formatter = df.formatter || frappe.form.get_formatter(fieldtype);
|
||||
var formatter =
|
||||
frappe.meta.get_docfield(doc?.doctype, df.fieldname)?.formatter ||
|
||||
frappe.form.get_formatter(fieldtype);
|
||||
|
||||
var formatted = formatter(value, df, options, doc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue