-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Hello,
I’m currently working on a project using Angular, and I’ve integrated Flowbite and the Flowbite Datepicker. However, I’m encountering several issues that I haven’t been able to resolve:
Module Import Issues:
Despite following the installation and setup instructions, I cannot properly import the Flowbite Datepicker module into my Angular project. Is there a specific workaround or configuration required for Angular?
Localization Issues:
I’m trying to set the language and locales for the datepicker, but I can’t access or configure locales as described in the documentation. The language always defaults to the standard configuration, ignoring the options I pass.
Ignoring Options on Initialization:
When I manually create a Datepicker instance and pass options (like autohide or custom locales), these options seem to be ignored. The datepicker reverts to the default configuration set in config.
Here’s a code snippet showing how I’m trying to initialize the datepicker:
Even with this setup, the options do not apply correctly.
I would greatly appreciate any guidance or suggestions on how to resolve these issues. Is there something I might be missing in the integration process for Angular? Are there known limitations or workarounds for using Flowbite Datepicker with Angular?
Additionally, if possible, I would be immensely grateful if you could create and share a small public Angular project where Flowbite Datepicker works as intended. I’ve spent over 6 hours trying to debug this issue without success, and having a working example would help me identify any mistakes I might be making in my setup.
Thank you for your help and for providing such a great tool!
