Atena.D
Atena.D
FFilament
Created by Atena.D on 5/21/2024 in #❓┊help
Error during upload with Filament fileupload
Oh, Thank you so much! In fact I didn't know there is such an option in php.ini. I changed it to upload_max_filesize = 1000M and now it's working 😃
4 replies
FFilament
Created by Atena.D on 5/10/2023 in #❓┊help
Get all inputs and their values in an array in create mode
Thanks 👍
3 replies
FFilament
Created by Atena.D on 4/28/2023 in #❓┊help
How to filter Filament table by nested relationship?
No actually these roles are a little bit different. but I'm now able to do that using whereHas in the query. Thanks!
7 replies
FFilament
Created by Atena.D on 4/28/2023 in #❓┊help
How to filter Filament table by nested relationship?
but didnt work
7 replies
FFilament
Created by Atena.D on 4/28/2023 in #❓┊help
How to filter Filament table by nested relationship?
I added this. then how should my code be like? I tried this: SelectFilter::make('user.role') ->options(UsersRoles::all()->pluck('role', 'id')) ->label('user role'),
7 replies
FFilament
Created by Atena.D on 4/22/2023 in #❓┊help
Remove uploaded files in Filament admin panel
Thanks 👍
3 replies
FFilament
Created by Atena.D on 4/14/2023 in #❓┊help
How to create a page without Filament layout?
Then how can I add filament authentication and authorizations to it
6 replies
FFilament
Created by Atena.D on 4/14/2023 in #❓┊help
How to create a page without Filament layout?
yes
6 replies
FFilament
Created by Atena.D on 4/2/2023 in #❓┊help
How to show results of an API in custom page table builder.
Yes but the problem is in a custom page that implements HasTable I should return a Builder type object from getTableQuery method to show that in a table, that means it should be read from a database although I don't have any database for it and as a result it throws an error saying the result from that URL isn't of type Builder
30 replies
FFilament
Created by Atena.D on 4/2/2023 in #❓┊help
How to show results of an API in custom page table builder.
30 replies
FFilament
Created by Atena.D on 4/2/2023 in #❓┊help
How to show results of an API in custom page table builder.
I don't want to have any form on my custom page I just want to have a table from the API result.
30 replies
FFilament
Created by Atena.D on 3/30/2023 in #❓┊help
How to create custom list page?
I mean in which method in a custom page should I specify the table builder
10 replies
FFilament
Created by Atena.D on 3/30/2023 in #❓┊help
How to create custom list page?
how can I do this?
10 replies
FFilament
Created by Atena.D on 3/30/2023 in #❓┊help
How to create custom list page?
Aren't resources just for CRUD? And also the table I want to create a list from, already has a resource but in this custom list I want to show it in two columns
10 replies
FFilament
Created by Atena.D on 3/20/2023 in #❓┊help
How to number_format numbers in the tables?
Thanks 👍
3 replies
FFilament
Created by Atena.D on 3/17/2023 in #❓┊help
Error Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str
Thanks 😃
12 replies
FFilament
Created by Atena.D on 3/17/2023 in #❓┊help
Error Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str
Oh, I think I found the reason. I had some records in user table which their name column was NULL and after I deleted them, it's working but in some cases I might have NULL in the name column because that's nullable so what can I do now?
12 replies
FFilament
Created by Atena.D on 3/17/2023 in #❓┊help
Error Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str
Actually, when I change that to ->relationship('user', 'id') is works. but in that case it shows me the id of the users but I want their names
12 replies
FFilament
Created by Atena.D on 3/17/2023 in #❓┊help
Error Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str
The column name is model_id and the relationship is like this:
public function user()
{
return $this->belongsTo(User::class, 'model_id');
}
public function user()
{
return $this->belongsTo(User::class, 'model_id');
}
12 replies
FFilament
Created by Atena.D on 3/17/2023 in #❓┊help
Error Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type str
It didn't work
12 replies