themesberg / tailwind-blazor-starter

Open-source project to get you started with Tailwind CSS, Blazor, and the Flowbite UI components
https://flowbite.com/docs/getting-started/blazor/
MIT License
22 stars 9 forks source link

Datetime picker doesn't work with Blazor app #7

Open duynguyen224 opened 7 months ago

duynguyen224 commented 7 months ago

I have implemented step by step on how to integrate Blazor with Flowbite following the docs It works for modal, dropdown, etc, ... But it seems like the Datepicker component doesn't work as expected. I found the issue Please watch the video for more detail: Youtube video The <script src="/plugin/flowbite/flowbite.js"></script> may have conflict with <script src="_framework/blazor.web.js"></script> in Blazor app. When I comment out the code <script src="_framework/blazor.web.js"></script>, the Datepicker works. But when I uncomment the code <script src="_framework/blazor.web.js"></script>, the Datepicker does not work, and there are no interactions anymore when clicking the Datetime picker. no calendar appears.