Daniel
Daniel
FFilament
Created by Tony on 2/10/2024 in #❓┊help
Header action button not refreshing
same here, button works but doesn't refresh after click
3 replies
FFilament
Created by ChrisR on 10/8/2023 in #❓┊help
Can the HeaderActions be refreshed if one of them is clicked?
same question here. it seems like clicking a header action only shows a spinner for the first click but not for any further clicks
5 replies
FFilament
Created by Daniel on 1/19/2024 in #❓┊help
Broadcasting after export completed
$user = User::find(1);

$notification = Notification::make()
->title('Test 123')
->success()
->sendToDatabase($user)
->broadcast($user);
$user = User::find(1);

$notification = Notification::make()
->title('Test 123')
->success()
->sendToDatabase($user)
->broadcast($user);
17 replies
FFilament
Created by Daniel on 1/19/2024 in #❓┊help
Broadcasting after export completed
something like this (from my tinker test):
17 replies
FFilament
Created by Daniel on 1/19/2024 in #❓┊help
Broadcasting after export completed
but i don't know how i can get the built-in export action sending a broadcast notification (in addition to the database notification)
17 replies
FFilament
Created by Daniel on 1/19/2024 in #❓┊help
Broadcasting after export completed
no, i mean that filament already supports broadcasting (i've tested it with tinker)
17 replies
FFilament
Created by Daniel on 1/19/2024 in #❓┊help
Broadcasting after export completed
after their export is ready to download
17 replies
FFilament
Created by Daniel on 1/19/2024 in #❓┊help
Broadcasting after export completed
but i also want a broadcast message as some users might not notice the small notification (bell) in header
17 replies
FFilament
Created by Daniel on 1/19/2024 in #❓┊help
Broadcasting after export completed
filaments new built-in export is sending databsse notifications after export has been completed
17 replies
FFilament
Created by Daniel on 1/19/2024 in #❓┊help
Broadcasting after export completed
broadcasting is already working
17 replies
FFilament
Created by Anik on 1/2/2024 in #❓┊help
Display labels on table grid
TextColumn::make('my_field')
->label('My label')
->formatSateUsingLabelPrefix();
TextColumn::make('my_field')
->label('My label')
->formatSateUsingLabelPrefix();
14 replies
FFilament
Created by Anik on 1/2/2024 in #❓┊help
Display labels on table grid
and then:
14 replies
FFilament
Created by Anik on 1/2/2024 in #❓┊help
Display labels on table grid
define a macro (in a service provider):
Column::macro('formatSateUsingLabelPrefix', function() {
return $this->formatStateUsing(function(Column $column, $state) {
return $column->getLabel() . ': ' . $state;
});
});
Column::macro('formatSateUsingLabelPrefix', function() {
return $this->formatStateUsing(function(Column $column, $state) {
return $column->getLabel() . ': ' . $state;
});
});
14 replies
FFilament
Created by Anik on 1/2/2024 in #❓┊help
Display labels on table grid
i'm also interested in this
14 replies
FFilament
Created by Dark on 12/19/2023 in #❓┊help
requiresConfirmation not working on actions
Action::make('deleteLogActivity')
->label('Delete')
->color('danger')
->visible(fn() => $this->record['id'] != null)
->requiresConfirmation()
->action(function () {
// do some stuff
}),
Action::make('deleteLogActivity')
->label('Delete')
->color('danger')
->visible(fn() => $this->record['id'] != null)
->requiresConfirmation()
->action(function () {
// do some stuff
}),
53 replies
FFilament
Created by Dark on 12/19/2023 in #❓┊help
requiresConfirmation not working on actions
it seems only to work when action is a closure and not a string of a function which should be called
53 replies
FFilament
Created by Dark on 12/19/2023 in #❓┊help
requiresConfirmation not working on actions
i guess it muss be something else
53 replies
FFilament
Created by Dark on 12/19/2023 in #❓┊help
requiresConfirmation not working on actions
i think this is only true for v2
53 replies
FFilament
Created by Daniel on 12/9/2023 in #❓┊help
Repeater items get duplicated after saving
It seems like when pressing "Save" there's a second Livewire request which causes the duplication of the rows.
9 replies
FFilament
Created by Daniel on 11/8/2023 in #❓┊help
Avoid form submission on error
yeah, but how can i trigger the failure from within afterStateUpdated method?
5 replies