fix: set input value instead of refreshing input
This commit is contained in:
parent
76f89db4e5
commit
3cb419d2d5
1 changed files with 1 additions and 2 deletions
|
|
@ -212,9 +212,8 @@ frappe.ui.form.Control = class BaseControl {
|
|||
validate_and_set_in_model(value, e, force_set_value = false) {
|
||||
const me = this;
|
||||
const is_value_same = this.get_model_value() === value;
|
||||
|
||||
if (this.inside_change_event || (is_value_same && !force_set_value)) {
|
||||
me.refresh();
|
||||
me.set_formatted_input?.(value);
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue