Merge pull request #37575 from krantheman/fix-datepicker-autofocus

This commit is contained in:
Suraj Shetty 2026-02-26 17:20:55 +05:30 committed by GitHub
commit f12b5c081b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -231,7 +231,7 @@ frappe.ui.form.check_mandatory = function (frm) {
}
function scroll_to(fieldname) {
if (frm.scroll_to_field(fieldname)) {
if (frm.scroll_to_field(fieldname, false)) {
frm.scroll_set = true;
}
}