vahnmarty
Is there an easy way to transform all labels to a different format instead of ucfirst (default) ?
I'm talking about everything that Filament has, from Panels to Forms to Tables. I've been using
->label()
a lot because I prefer to have a Str::title()
.5 replies
Apply changes to field's sibling from Repeater
Using a column called
is_primary_contact
to a Parent model, I want to use $set() to apply changes to all of the parents. There can be only 1 primary contact, so If I set the parent1 to is_primary_contact
, the rest of the parents should be false
.
3 replies
How to easily change the placeholder text on Search?
I want every resource will have different search placeholder, for example in Child Resource, the placeholder should be "Search First Name, Email or Phone Number". In Application Resource "Search Control Number, Status, Name".
10 replies
How to customize repeater delete Item?
When using
repeater::deleteItem
on a certain Repeater, suddenly it affects to other Repeater. I have repeater for parents
, children
, activities
. Everytime I delete an item from activities
, a notification from Parent Repeater triggers.
2 replies
Delete items in FileUpload
How to delete files from FileUpload without hitting the submit or using
$this->form->getState()
?
How to trigger a delete item too, like is there a '->afterFileDeleted
?
->afterStateUpdated
doesn't trigger when deleting items from a FileUpload::multiple
2 replies
How to modify ToggleColumn function?
It's amazing how ToggleColumn can update to the backend, but I'm curious about how to customize that.
I have a column
is_primary
. Once I toggled a row, the other rows is_primary
must be toggled too. So if I set the is_primary
to true
, the other rows is_primary
will be false
.
7 replies