Sael
Sael
FFilament
Created by Sael on 12/28/2023 in #❓┊help
Multiple create action
So as we all know, there is a default create action on the top of the table. However, i want to add another create action with different inputs. Is that possible? Here i s what i tried so far. it did create two buttons, but the form is the same, how can i change the form of the new button? protected function getHeaderActions(): array { return [ Actions\CreateAction::make('New2') ->label('Target'), Actions\CreateAction::make('New1') ->modal(Product::class) ->form([ TextInput::make('title') ->required() ->maxLength(255), ]),

]; }
5 replies
FFilament
Created by Sael on 12/24/2023 in #❓┊help
Datetimepicker ignore
Forms\Components\DateTimePicker::make('inclusive_start_date') ->label('Start Date/Time') ->default(now()) ->minDate(now()) ->required() ->live() how can I ignore minDate when I am just editing something?
10 replies
FFilament
Created by Sael on 12/22/2023 in #❓┊help
Edit forms
No description
12 replies
FFilament
Created by Sael on 12/9/2023 in #❓┊help
POST
Do the filament forms automatically use POST method and do these also include @csrf? Searched through the internet and this is what I found to strengthen the security of my website.
8 replies
FFilament
Created by Sael on 12/7/2023 in #❓┊help
Table query
So I am currently modifying the results of my table using ->modifyQueryUsing however, I can still access the record, if I know the URL. how can I disable that? For example: http://localhost:8000/admin/column/ - base URL However, if I add the number of record, http://localhost:8000/admin/column/22/edit I can now access that record. how do I disable them doing that?
2 replies
FFilament
Created by Sael on 12/3/2023 in #❓┊help
sidebar button change active background color
No description
8 replies
FFilament
Created by Sael on 11/30/2023 in #❓┊help
Background Image
Hello, is it possible to place a background image at the login page, and lower its transparency?
8 replies
FFilament
Created by Sael on 11/29/2023 in #❓┊help
filament swiper plugin.
Hello, has someone used filament swiper plugin. May i see how you implemented it? Because i always get error at this line {{ $this->getFinalSwiper() }}, and it gives me an error of Class "App\Livewire\Components\Section" not found
2 replies