mkocansey / bladewind

BladewindUI is a collection of elegant Laravel blade-based UI components spiced with TailwindCSS and Javascript.
https://bladewindui.com
MIT License
471 stars 42 forks source link

Datepicker doesn't show up #316

Closed jaguarman closed 2 weeks ago

jaguarman commented 2 weeks ago

Hi Mike,

the datepicker doesn't show up in my blade file. I narrowed the problem down to an empty blade file with only on element: the datepicker.

I'll add the rendered html output. I found something line "display: none"

May that be the problem?

Best regards Peter

rendered output.txt

mkocansey commented 2 weeks ago

Hi @jaguarman have you included the alpine.js file. This is required for the datepicker to work?

mkocansey commented 2 weeks ago

<script src="//unpkg.com/alpinejs" defer></script>

Should be available on any page that requires the datepicker.

jaguarman commented 2 weeks ago

Hey Mike,

I hadn't. Now I have. It works. Embarrassing. I beg your pardon.

Have a nice weekend.

best regards Peter

Am Fr., 23. Aug. 2024 um 18:22 Uhr schrieb Michael K. Ocansey < @.***>:

Should be available on any page that requires the datepicker.

— Reply to this email directly, view it on GitHub https://github.com/mkocansey/bladewind/issues/316#issuecomment-2307409902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFUFLCPAIJS43P5XH3QYZR3ZS5OV5AVCNFSM6AAAAABNAO7X62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGQYDSOJQGI . You are receiving this because you were mentioned.Message ID: @.***>

mkocansey commented 2 weeks ago

No need to be embarrassed. Just a hint for me to add that to the datepicker docs. It's currently only mentioned in the installation docs. Thanks.

Have a nice weekend.