Atena.D
Atena.D
FFilament
Created by Atena.D on 7/8/2024 in #❓┊help
Can't change $modelLabel in ManageRelatedRecords
I could finally find the solution! I just had to use ->modelLabel() method in table function on $table and then pass the model label to it
12 replies
FFilament
Created by Atena.D on 7/8/2024 in #❓┊help
Can't change $modelLabel in ManageRelatedRecords
if you take a look at filament demo project in post resource, when you click on a post you'll view that post and there is a navigation tab at the top for managing post comments. My project is just like that with the same logic. But there is something I want to change. When you navigate to that manage post comments tab you'll see the list of comments and a button to create a new comment which its label is based on the comments model name and as far as I tried I couldn't change that. Like when creating a new resource we can change $modelLabel property value though in this case I cant change the modal label and there seems to be no property like $modelLabel in a relation page that extends ManageRelatedRecords
12 replies
FFilament
Created by Atena.D on 7/8/2024 in #❓┊help
Can't change $modelLabel in ManageRelatedRecords
Is it even possible in ManageRelatedRecords? Or there isn't such an option to change the model label at all?
12 replies
FFilament
Created by Atena.D on 7/8/2024 in #❓┊help
Can't change $modelLabel in ManageRelatedRecords
Unfortunately, it doesn't work. it's the same as this property which doesn't change the model label:
protected static ?string $title = '';
protected static ?string $title = '';
12 replies
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
33 replies
FFilament
Created by Atena.D on 4/2/2023 in #❓┊help
How to show results of an API in custom page table builder.
33 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.
33 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