valentin_morice
valentin_morice
FFilament
Created by valentin_morice on 3/5/2024 in #❓┊help
Compiling Tailwind classes when contributing
First of all, thanks for the amazing work, Filament is a great package that I find myself using very frequently 😌 I've been making a few commits lately, and I can't seem to be able to load additional Tailwind classes that weren't part of the repo when I forked it, even after running npm run build I can see the css being compiled in /packages/panels/dist/theme.css, after I added a class to the wizard.blade.php view. Still, no modification when I reload the php server.
4 replies
FFilament
Created by valentin_morice on 10/28/2023 in #❓┊help
Pass URL parameters to a CreateResource form inputs
Hi, I'm currently building a widget to display donors who are missing a payment from their subscription on the dashboard. It's a table, and for each member I have a "Create a Payment" link. For now, the link takes the admin to the create a payment form, but I'd like to populate the form fields using URL parameters, as such: http://example.com/admin/payments/create?donorid=1&amount=50 Is there any way to do so in Filament?
9 replies
FFilament
Created by valentin_morice on 10/23/2023 in #❓┊help
DatePicker value if DB field is null
I have a DatePicker component in a DonorsResource form, that lets you chose a birthdate for a new donor. However, this field is optional. When the column is null, and you chose to edit a donor, the DatePicker has the date 01/01/1970 pre-filled. Is there any way, in this case, to assign it the default "dd/mm/yyyy" that's present in the "New Donor" form?
5 replies
FFilament
Created by valentin_morice on 10/14/2023 in #❓┊help
Date Picker Placeholder
I'm trying to set up a placeholder for a Date Picker input inside a form, but it does not seem to work, even though the documentation for v3 says it should. I have tried passing a datetime string, a Carbon date, but to no avail. Thanks in advance for your help!
14 replies
FFilament
Created by valentin_morice on 10/9/2023 in #❓┊help
Get the active tab when submitting a form
Hi everyone, just wondering if there's a way to obtain the active tab when submitting a form. I've tried to persist the active tab in the URL, but can't use the url() helper function inside Livewire. I found a package that's meant to get the current URL inside Livewire, but it does not work.
6 replies