Date Picker and hidden values

Wappler Version : v5.2.1
Operating System : MacOS Catalina 10.15.7 (19H2026)
Server Model: Node.JS
Database Type: -
Hosting Type: localhost

I am trying to display a date value in a form field and use the Date Picker to change it

The conversion of the original timestamp to date format seems to be done correctly.

.toNumber().toDate().formatDate(‘dd-MM-yyyy’)

The problem is that the original values ​​are not displayed, in the browser you can see that some additional hidden ‘input’ is being created in which there is a date value. But it’s not in the code!

Try formatting it using the ISO format formatDate('dd-MM-yyyy'). In your screenshow I also see the format in the datepicker is different it shows DD.MM.YYYY, so it could maybe expect formatDate('dd.MM.yyyy').

Thank you, Patrick!

Used toNumber().toDate().toISODate() and now working correctly.