Report generator crashes when trying to edit a date field

Hi all,

not sure if this has been around for long, here goes: if you have a Doctype with a Date field (e.g. Opportunity and the opportunity date), open the Report Editor, then double-click a date field to edit it, it will crash. Other fields like Data, Int, Small Text work without any issues. There is no clue in the browser console, all it says “a script is blocking this webpage. stop or wait”

This was observed in Frappe Framework: v10.1.50 / ERPNext: v10.1.57 using Chrome or Firefox (both behave the same way).

Interestingly, it does not affect all date fields. On doctype “Task”, the expected end date works just fine. It might be related to the date format, dd-mm-yyyy seems to work fine whereas fails…

Is it a configuration issue? Any hints?

Steps to reproduce:

  • Create a few opportunities
  • From Opportunity List > Report Generator
  • Select Column “Opportunity Date”
  • Try to enter this date…

Any clues?