Ahmed Ali
Ahmed Ali
FFilament
Created by Ahmed Ali on 1/21/2024 in #❓┊help
use filament icon in skill icon
it's not realy filament issues but i want to add filament icon to my skill icon in github i use skillicons but there is no filament??
5 replies
FFilament
Created by Ahmed Ali on 1/17/2024 in #❓┊help
hidden filter icon on other tabs
hello guys i used gettabs and apply table filter in one tab how remove filter icon from an other tab in filament
12 replies
FFilament
Created by Ahmed Ali on 1/16/2024 in #❓┊help
i need help in RichEditor::make('messages')
i send data to mail content, mail send well if the data contains text but when contains image error appearing where is the trick?
19 replies
FFilament
Created by Ahmed Ali on 1/15/2024 in #❓┊help
navigationGroup
i used protected static ?string $navigationGroup = "interviews"; in some resources to groub it together but i need to set this navigation groub closed by default.
9 replies
FFilament
Created by Ahmed Ali on 1/14/2024 in #❓┊help
import from viewpage
i need to import from excel i used some library but donot help me to import when i have view page and relation manager
2 replies
FFilament
Created by Ahmed Ali on 1/13/2024 in #❓┊help
extraModalFooterActions issues when has form in bulkaction
hi guys i have extraModalFooterAction and inside it there is a form and it is working with normal action but with bulk action new modal form not appearing ??
23 replies
FFilament
Created by Ahmed Ali on 1/11/2024 in #❓┊help
there any way to disenable row in filement
i need to disenable soft delete row how do that??
2 replies
FFilament
Created by Ahmed Ali on 1/11/2024 in #❓┊help
how to add extra breadcrumbs work
i visit all website and documentation and also youtube i search about how to add extra breadcrumbs in resource i find some method like getBreadcrumbs() function but when defind it in new page i don't no how to add the like to previous page please help to make the day good thanks
4 replies
FFilament
Created by Ahmed Ali on 1/7/2024 in #❓┊help
Interviewer::query()
how to add some to this return to table thsi my custom return collection Interviewer::query() ->where('user_id', '=', auth()->user()->id) ->first() ->interviews->pluck('program') in title worked and in description not woking and return data as collection please help guys
2 replies
FFilament
Created by Ahmed Ali on 1/6/2024 in #❓┊help
page outside resource
how to go to page outside the resource i know how to go to any page in resource but if the page outside the resource and if that is done how to access or pass data from that page this very confuse me any knowledge
6 replies
FFilament
Created by Ahmed Ali on 1/5/2024 in #❓┊help
this my issues in image
No description
8 replies
FFilament
Created by Ahmed Ali on 1/5/2024 in #❓┊help
two column as unique
i have this form return $form ->schema([ Forms\Components\Select::make('program_id') ->relationship('program', 'name') ->required(), Forms\Components\Select::make('applicant_id') ->relationship('applicant', 'name') ->required(), Forms\Components\TextInput::make('values') ->required(), Forms\Components\Select::make('status_id') ->relationship('status', 'name') ->required(), ]); i need program_id and applicant _id as unique in table at same time
11 replies
FFilament
Created by Ahmed Ali on 1/4/2024 in #❓┊help
Hi every one i have user has applicant relationships
i need to register user in applicant resource and direct create applicant.
27 replies
FFilament
Created by Ahmed Ali on 1/3/2024 in #❓┊help
i have register auth page and i need to do action like
$user = Auth()->user(); $user->assignRole('admin'); in this page class Register extends BaseRegister { protected function getForms(): array { return [ 'form' => $this->form( $this->makeForm() ->schema([ $this->getNameFormComponent(), $this->getEmailFormComponent(), $this->getPasswordFormComponent(), $this->getPasswordConfirmationFormComponent(), ]) ->statePath('data'), ), ]; } }
8 replies
FFilament
Created by Ahmed Ali on 1/3/2024 in #❓┊help
hello i have filament blade <x-filament-panels::page> </x-filament-panels::page>
how to go to specific web route when click html button
2 replies
FFilament
Created by Ahmed Ali on 1/2/2024 in #❓┊help
how to change avatar in topbar to my local image
the user avatar change to image
5 replies
FFilament
Created by Ahmed Ali on 1/1/2024 in #❓┊help
i have model below and i run php artisan make:filament-resource Application --generat
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\Pivot; class Application extends Pivot { use HasFactory; / * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'program_id', 'applicant_id', 'status', 'values', ]; public $table = 'applications'; / * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'id' => 'integer', 'program_id' => 'integer', 'applicant_id' => 'integer', 'values' => 'array', ]; public function program(): BelongsTo { return $this->belongsTo(Program::class); } public function applicant(): BelongsTo { return $this->belongsTo(Applicant::class); } public function reviews(): HasMany { return $this->hasMany(Review::class); } public function reviewers(): BelongsToMany { return $this->belongsToMany(Reviewer::class, 'reviews') ->using(Review::class) ->as('review') ->withPivot('id', 'note', 'reviewer_id', 'application_id') ->withTimestamps(); } } will generate resource with columns and filters empty and with another model or pivot table work well what the problem ? ->columns([ // ]) ->filters([ // ])
4 replies