feat: allow Context for translation in DocField.description in base input (#33715)
This commit is contained in:
parent
3461a9d12c
commit
4f7da990cc
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ frappe.ui.form.ControlInput = class ControlInput extends frappe.ui.form.Control
|
|||
return;
|
||||
}
|
||||
if (this.df.description) {
|
||||
this.$wrapper.find(".help-box").html(__(this.df.description));
|
||||
this.$wrapper.find(".help-box").html(__(this.df.description, null, this.df.parent));
|
||||
this.toggle_description(true);
|
||||
} else {
|
||||
this.set_empty_description();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue