Hi, Im using framework7 calender. I want to set today date as default date for the calendar input. I tried below but its not working.
var attendanceDate = app.calendar.create({
inputEl: '#attendance-date',
dateFormat: 'DD, MM dd, yyyy',
openIn: 'customModal',
});
var today = new Date();
attendanceDate.setValue(today);