I am using the following date picker with flowbite and tailwind.
I am using just the calendar and I am trying to disable past dates so that users are unable to click on them.
HTML
<div inline-datepicker id="mydatepicker"></div>
JavaScript
import Datepicker from 'flowbite-datapicker/Datepicker';
const datapicker = document.getElementById('mydatepicker');
new Datepicker(datapicker, {
todayHighlight: true
});
Is there a way of doing this?