fix: translate autocomplete options label
This commit is contained in:
parent
d363452b32
commit
94583340ec
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ frappe.ui.form.ControlAutocomplete = class ControlAutoComplete extends frappe.ui
|
|||
|
||||
options = options.map((o) => {
|
||||
if (typeof o !== "string") {
|
||||
o.label = cstr(o.label);
|
||||
o.label = __(cstr(o.label));
|
||||
o.value = cstr(o.value);
|
||||
}
|
||||
return o;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue