i.musabah
i.musabah
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
so that I will do that after I finish the current project , anyway I really appreciate your help and notes also all Guys here
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
Yeah, I think if I wanna ingrate my package with Filament I have to rebuild the structure of it. I just realize in Filament handle every column alone so I can't process multi data or records together.
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
$here data is instance record
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
I wrote this
protected function form(Form $form): Form { list($locales, $keyNamespace, $keyGroup, $keyItem) = $this->record->getTranslateParams(); $fields = []; foreach ($locales as $locale => $data) { $fields[] = TextInput::make("value[$locale]") ->afterStateHydrated(function (TextInput $component, $state) use ($locale, $data) { $component->state(data_get($data, 'translation.value.'.$local)); }); } return $form->schema($fields); }
but not works
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
Hum, I already access the record and built inputs but here I facing another challenge with inputs name I use <input name="value[$local]" /> in normal html tag but how can present this in the filament input component?
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
and I struggle with it
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
@John
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
I already use my package for many projects and its works with Laravel 6 and above. Recently found Fliamnt AND now I'm trying ingrate my package with it
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
when the developer uses trans() or __ functions will automatically load this keys into Laravel app and create these keys into db by serviceprivder that give the admin or content team the ability to edit trans without back to the developers team
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
yeah
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
@John I've wrote laravel package and I'm trying to integrate it with filamentPHP if that works I will start useing filamentPHP admin panel for my future project https://github.com/ibrahimMH13/translate
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
so I can overwriting and add new functions in this class
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
Thanks you Guys
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
Oh its works,
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
aha, overwrite form function inside editResourceClass , I will try it now
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
yeah
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
could u explain more ? @John
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
my case is only for editing, I don't have to create
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
how can access $livewire->getRecord() inside form?
54 replies
FFilament
Created by i.musabah on 7/25/2023 in #❓┊help
Get current instance
BTY this edit not create
54 replies