I have the following code: if (setToToday) { this.flatpickr({ minDate: 'today', defaultDate: new Date( $(this).attr(“date”)), }); } else { flatpickr(this).
確定! 回上一頁