matin rajabi
matin rajabi
FFilament
Created by matin rajabi on 11/4/2024 in #❓┊help
can not access to new filament panel - fortify error
hello when I try to access my new filament panel, I got this error: Target [Laravel\Fortify\Contracts\LoginViewResponse] is not instantiable. i can't find anything in web. so can you guys help me?
2 replies
FFilament
Created by matin rajabi on 8/15/2024 in #❓┊help
resource not displaying on sidebar
hello. i create a resource with this cmd: php artisan make:filament-resource Customer --generate but it is not displaying on sidebar. i added this function in my resource file
public static function canViewAny(): bool { return true; }
but still not working. what should i do
14 replies
FFilament
Created by matin rajabi on 4/29/2024 in #❓┊help
Route [filament.admin.pages.menu] not defined. -filament-access-management
No description
3 replies
FFilament
Created by matin rajabi on 4/10/2024 in #❓┊help
display create button by condition
No description
10 replies
FFilament
Created by matin rajabi on 4/9/2024 in #❓┊help
select field display id of record in edit page
No description
18 replies
FFilament
Created by matin rajabi on 4/4/2024 in #❓┊help
disable submit button on widget form
can we prevent submit a form if there is a record in the db? the form is a widget and customize by livewire. any idea would be helpful
4 replies
FFilament
Created by matin rajabi on 4/2/2024 in #❓┊help
how to add external url in navigation
i want to add external url in my navigation sidebar. but i find a way for a specific resource. what should i do?
5 replies
FFilament
Created by matin rajabi on 4/2/2024 in #❓┊help
how to update another model instead of updating current resource?
hello i want to insert data into another model first when user edit a form. what should i do?
12 replies
FFilament
Created by matin rajabi on 3/27/2024 in #❓┊help
can not custom logout redirection
hello guys I do all steps like this blog for change redirection of logout: https://filamentphp.com/community/tim-wassenburg-how-to-customize-logout-redirect but i got an error here:
Target class [App\Http\Responses\LogoutResponse] does not exist.
does any one have any idea?
12 replies
FFilament
Created by matin rajabi on 3/14/2024 in #❓┊help
how to set url to a route out of filament panels
hello i want to create a button which is linked to main page of website. how should i set the route in url()? i tried this :
TextColumn::make('status') ->label('عملیات') ->formatStateUsing( function ($state) { return 'مشاهده'; } ) ->color('primary') ->icon('heroicon-o-eye') ->iconColor('primary') ->url( function ($record) { route('main.preview_product', ['id' => $record->id]); } ) ->openUrlInNewTab()
but it goes to edit page of this record 😐
5 replies
FFilament
Created by matin rajabi on 3/13/2024 in #❓┊help
markdowneditor not working
i have a loop and i create some markdowneditor in the loop. but they don't get any value and return null. i don't know why i have the same editor out of loop and it works well. another thing is when the markdowneditor is required i can't submit the form and it says the field is required whereas i filled the editor. any idea about this story???
3 replies
FFilament
Created by matin rajabi on 3/12/2024 in #❓┊help
SelectTree plugin filament - Trait "Filament\Forms\Components\Concerns\HasPivotData" not found
hello i have this issue. The reference of error is in selectTree plugin files. what should i do?
3 replies
FFilament
Created by matin rajabi on 3/10/2024 in #❓┊help
can i change the logic of login/register?
i want to change login user and make it with phone. how to add Mobile OTP verification in Filament registration and login?
5 replies
FFilament
Created by matin rajabi on 3/10/2024 in #❓┊help
form relation fields in edit form not filling. it's empty
hello guys how should i fill the related field in edit form?
5 replies
FFilament
Created by matin rajabi on 3/9/2024 in #❓┊help
change title of page not working
No description
5 replies
FFilament
Created by matin rajabi on 3/8/2024 in #❓┊help
how can i show table values by condition?
No description
3 replies
FFilament
Created by matin rajabi on 3/7/2024 in #❓┊help
save repeater values as json to DB
hello i have a repeater which post the value as an array and when i try to insert data i got
Array to string conversion
so i want to save that value as an array but i don't know how?
3 replies
FFilament
Created by matin rajabi on 3/6/2024 in #❓┊help
struggle with select field =_=
i create a Select then for its option i have a model which has this relation:
public function filter(): BelongsTo { return $this->belongsTo(Filter::class, 'filters_id'); }
and in Filter::class i have another relation:
public function subfilters(): HasMany { return $this->hasMany(FilterDetail::class); }
and i want that the options will be FilterDetail::class rows what should i do?
15 replies
FFilament
Created by matin rajabi on 3/5/2024 in #❓┊help
how to display fields of form based on value of another field?
hello i want to display specific fields for each option of select in form. how to do this?
7 replies
FFilament
Created by matin rajabi on 3/4/2024 in #❓┊help
how can i create nested options and sub options in select form ?
i have nested categories and sub categories which i wanna display in select option. how should i do that?
8 replies