Closed tsv2013 closed 4 years ago
See the https://surveyjs.answerdesk.io/ticket/details/t5690/bootstrap-datepicker-formatting-not-applied-on-initial-if-used-with-defaultvalueexpression thread for more details
var json = { "elements": [ { "name": "date", "type": "bootstrapdatepicker", "inputType": "date", "title": "Your favorite date:", "defaultValueExpression": "today()", "dateFormat": "MM dd, yyyy", "isRequired": true } ] };
The initial value (today) is not properly formatted
See the https://surveyjs.answerdesk.io/ticket/details/t5690/bootstrap-datepicker-formatting-not-applied-on-initial-if-used-with-defaultvalueexpression thread for more details
The initial value (today) is not properly formatted