DatePicker not working in Preview Mode

DatePicker suddenly doesn’t work in Preview mode but does work when Published.

I create a blank page, add a DatePicker, clicked Preview and

  1. No date appears in the DatePicker’s placeholder area (the setting is set to today’s date)

  2. The DatePickers dropdown calendar doesn’t appear

When I publish it, the published version works fine.

No code has been changed in this area.
I’ve confirmed that the DatePicker.value property is properly set to the correct date by dumping it to the console.

If your issue is to do with the Date Picker element through Wix Editor itself, then you are better suited going through Wix Support for more help as it is an issue with your Editor and not code on your page, which this forum is for. https://support.wix.com/en/article/contacting-wix-support