mrvn
mrvn
FFilament
Created by mrvn on 5/20/2024 in #❓┊help
Customize VerifyEmail template and other login related emails
Thank you, I will check on that
10 replies
FFilament
Created by Sourabh on 3/19/2024 in #❓┊help
Email verification template
having the same issue
6 replies
FFilament
Created by Adam Holmes on 4/16/2024 in #❓┊help
Unable to add form actions to modal
I am trying to achieve almost the same but is there a way to add a simple action button to the modal which excecutes some code without confirming or canceling the modal itself? I would just have a button which triggers an api call but ->action(() => ...) is not fired but using ->url(...) does:
TextInput::make('report_url'),
Actions::make([
Action::make('record')
->modalContent(function (Get $get) {
return view('iframe', ['url' => $get('remote_url')]);
})
->extraModalFooterActions(function (Get $get) {
$url = $get('report_url');
return [
ActionsAction::make('report')->action(fn () => dump('hi'))
];
})
->slideOver()
->mountUsing(function (Set $set, Get $get) {
$url = $get('settings.scope.url');
})
->modalCancelAction(function (Get $get) {
Http::get($get('url'));
})
->action(function (Set $set, Get $get) {
Http::get($get('test_url'));
})
])
TextInput::make('report_url'),
Actions::make([
Action::make('record')
->modalContent(function (Get $get) {
return view('iframe', ['url' => $get('remote_url')]);
})
->extraModalFooterActions(function (Get $get) {
$url = $get('report_url');
return [
ActionsAction::make('report')->action(fn () => dump('hi'))
];
})
->slideOver()
->mountUsing(function (Set $set, Get $get) {
$url = $get('settings.scope.url');
})
->modalCancelAction(function (Get $get) {
Http::get($get('url'));
})
->action(function (Set $set, Get $get) {
Http::get($get('test_url'));
})
])
5 replies
FFilament
Created by ArnoNym on 11/28/2023 in #❓┊help
Filament V3 Table heading in one row with the filters
@Lara Zeus Do you might have an idea how this could be implemented on an automated basis using Table::configureUsing, by using a Trait or at least extending the Table BaseClass?
7 replies
FFilament
Created by ArnoNym on 11/28/2023 in #❓┊help
Filament V3 Table heading in one row with the filters
Actually I just found a solution as you can just use a render hook:
FilamentView::registerRenderHook(
TablesRenderHook::TOOLBAR_START,
fn () => '<h3 class="text-base font-semibold leading-6 text-gray-950 dark:text-white">Heading</h3>',
// scopes: \App\Filament\Resources\UserResource\Pages\EditUser::class,
);
FilamentView::registerRenderHook(
TablesRenderHook::TOOLBAR_START,
fn () => '<h3 class="text-base font-semibold leading-6 text-gray-950 dark:text-white">Heading</h3>',
// scopes: \App\Filament\Resources\UserResource\Pages\EditUser::class,
);
Specifying the scope gives you even more flexibility
7 replies
FFilament
Created by ArnoNym on 11/28/2023 in #❓┊help
Filament V3 Table heading in one row with the filters
I am here for the same issue. The usd approach seems like a waste of space and almost unestically most of the times, especially using minimal theme. Would be nice to at have the option to chose.
7 replies
FFilament
Created by mrvn on 4/16/2024 in #❓┊help
Use topbar instead of sidebar also on mobile
I do use
>topNavigation(true)
>navigation(true)
>topNavigation(true)
>navigation(true)
but the top navigation still disappears
5 replies
FFilament
Created by mrvn on 4/16/2024 in #❓┊help
Use topbar instead of sidebar also on mobile
my navigation links after the logo / app name. I just want to disable the sidebar completely, kinda like disabling the breakpoint or at least reducing it
5 replies