Merge pull request #20654 from vvrithof/fix--float-formatting

This commit is contained in:
Shariq Ansari 2023-04-19 11:29:56 +05:30 committed by GitHub
commit 4932485ff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@ frappe.ui.form.ControlFloat = class ControlFloat extends frappe.ui.form.ControlI
else {
let value = this.get_input_value();
this.parse_validate_and_set_in_model(value, e);
this.refresh();
}
};
// convert to number format on focusout since focus converts it to flt.