I asked this question on the French bonita forum but with no answer, I try now with the English community, forgive my English please :d.
I use a form to recover some data and a deadline date that the user CAN indicate.
This date is not mandatory, the datepicker is displayed only if a radio button is selected.
The problem now is that that the DatePicker widget starts by default on the current date, the variable "deadline" is instantiated by default to null in the Input JSON. Now, if no date is specified by the user, an error message appears: