camya
Form in Livewire: Disable Submit-Button, while a file uploads?
Hi, im using the Filament Form inside a Livewire component.
While uploading a large file, the user can still submit the main form. How can i disable the button while the upload runs.
I search for a possiblity to listen for "livewire-upload-start | -finish| -cancel | -error | -progress" or some kind of variables available in filament.
Something like this... (PSEUDO CODE)
Adding the Form documentation: https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#adding-the-form
9 replies
Table: sortable() with counts() - Set initial orderBy "desc" possible?
In my table, i have a sortable "comment count" field.
If i click it, its initially ordered by "ASC" (e.g. from 0 comments -> Most comments), which is not what I want.
On initial click, I want see the posts with the most comments. (e.g. from Most comments -> 0 comments)
I need something like:
->sortable(initialOrderBy: 'desc')
(demo pseudo code)
Is this possible already and i missed the option?
5 replies
Notification ->body('Some **bold** info') -- Markdown not parsed in V3
In V3, Markdown is not parsed when I do
Notification::make()->body('Some **bold** text')->>send();
Is there a replacement method to parse the body?
There is no mention of this change in the V3 documentation or in the "Upgrading from v2.x" guide. It would be great, if the documentation can be updated here.
V3 docs: https://filamentphp.com/docs/3.x/notifications/sending-notifications#setting-body-text
V2 docs: https://filamentphp.com/docs/2.x/notifications/sending-notifications#body7 replies
Filament 3 version of the **"Title With Slug" Input - Easy Permalink Slugs** - Bug
Hi. At the moment, we try to make the Filament 2 Plugin compatible with Filament 3.
Everything looks fine, except there's are weird character skip bug while typing in the title. (See video in the PR below)
https://github.com/camya/filament-title-with-slug/pull/24
Maybe someone of you have an idea, how to easily fix it.
Any help is welcome. 🙂
6 replies