Multiple day picker
I need a date selector which is able to select multiple days. how to do it with filament?
ive searched and tried ->multiple() but doesnt seem to work
19 Replies
ive found this one:
https://v2.filamentphp.com/plugins/flatpickr
but id like to know if there is any alternatives
Filament
Flatpickr by Samson Maosa - Plugins - Filament
The Popular Date/time Picker, Flatpickr, as a Filament Form Field
plus: not using admin panel
I dont think there is no build in for multiple date, but you can make start and end, use two date picker else plugin
the thing is that i need multiple dates, not only 2
and with the plugin i found, it doesnt work in modals. it crashes
that is why im searching for an alternative or something
otherwise, ill have to move it all into a form component... :/
Wait.. haha
GitHub
GitHub - malzariey/filament-daterangepicker-filter
Contribute to malzariey/filament-daterangepicker-filter development by creating an account on GitHub.
Check this
i was trying to find it too xd
now checking if v2
cant find it here in v2 - https://filamentphp.com/plugins
but in v3 yes
searched "date range"
#malzariey-daterangefilter ask here about v2
ill asume it works in v2
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1156210383481229363/Screenshot_2023-09-26_at_14.47.11.png)
Haha.. wait, be patience, everyone have their own time
It's for v2 and v3. You can see that in the composer file
when installing it:
(
composer require malzariey/filament-daterangepicker-filter
)
maybe this is in the admin panel, which i dont haveFilamentAsset is a v3 thing. You'll need to install the appropriate version of the plugin for v2
You need to install v1.3.2, because v2 is for filament v3.. check release https://github.com/malzariey/filament-daterangepicker-filter/releases/tag/2.0
GitHub
Release v2.0 · malzariey/filament-daterangepicker-filter
What's Changed
Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #24
Add support for filament v3 and French translation by @lepresk in #26
Add Dutch translation by @meniv-nl...
🙏
now lets see if works in modals hehe
nah, doesnt
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1156212627354173460/Screenshot_2023-09-26_at_14.56.08.png)
i guess ill have move it ALL into a full page form
well thanks for the help, appreciate ur time all! ill close the issue
i was using this one... but if i set it visible/invisible it breaks...
at the start, i set it as invisible. when user does something in the form, if a condition is met i make it visible
then crashes
if i set it visible at the start, yes, works. but the user shouldnt see it at the start..
🤔