Open dstockhammer opened 1 year ago
When using the standalone js import, the todayHighlight rendering (class?) is broken after selecting any other date:
todayHighlight
Here's how I'm using the plugin:
import { Alpine } from "alpinejs"; import FlowbiteDatepicker from "flowbite-datepicker/Datepicker"; export const Datepicker = (Alpine: Alpine) => Alpine.directive("datepicker", (el: Element) => new FlowbiteDatepicker(el, { // todayBtn: true, // todayBtnMode: 1, todayHighlight: true, clearBtn: true, format: "dd/mm/yyyy", }));
When using the standalone js import, the
todayHighlight
rendering (class?) is broken after selecting any other date:Here's how I'm using the plugin: