In calendar view only show after todays date not show previous date


i have start date field and want only show date in calendar after todays not show previous date
how to achieve this?

Reference: How not restrict old date selection from Calender for a custom field - #3 by NCP

hi @NCP
i have used this script
frappe.ui.form.on(‘Lease’, {
refresh: function(frm) {
frm.fields_dict.start_date.datepicker.update({
minDate: frappe.datetime.get_today() // Set the minimum date to today’s date
});
}
});
still i can choose previous date

It’s worked properly from my end.

i have check on To Do doctype but not work


It does not work in the quick entry form.

yes right now its work


but why its not work on ‘Lease’ doctype any idea?

Please check the date field name.

@ncp now its work
thank you