Cristina
Cristina
FFilament
Created by Cristina on 11/13/2024 in #❓┊help
Got error "Unable to find component" when click an action in relation page
After many hours debug, i find the problem, it is the problem of cache, so i do use php artisan filament:optimize-clear and then php artisan icons:cache for cache icons again, the laravel clear cache not helping for this problem
4 replies
FFilament
Created by Cristina on 10/30/2024 in #❓┊help
How to put the native save button inside of the form?
Thanks for your reply, but i want to change the positin of the native save button of the edit page...
4 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
Interesting, i will use it somewhere for sure
19 replies
FFilament
Created by Nuxnux on 10/21/2024 in #❓┊help
Laravel Echo cannot be found on custom page in filament
i think if you have error said something about pusher, so maybe you have used some method or params for pusher instead of reverb
15 replies
FFilament
Created by Nuxnux on 10/21/2024 in #❓┊help
Laravel Echo cannot be found on custom page in filament
nope, if you want to use pusher, you need to install it
15 replies
FFilament
Created by Nuxnux on 10/21/2024 in #❓┊help
Laravel Echo cannot be found on custom page in filament
i notice that your errore said "echo.js?v=3.2.116.0:2 Uncaught You must pass your app key when you instantiate Pusher." do you use pusher? if so, in your .env i see you set REVERB_APP_ID, but you should set PUSHER_APP_ID
15 replies
FFilament
Created by Nuxnux on 10/21/2024 in #❓┊help
Laravel Echo cannot be found on custom page in filament
the doc said that dot is needed for custom event name if you broadcast a event name different from you event class name, although in my case i used the same name but i also need to add the dot to let it work
15 replies
FFilament
Created by Nuxnux on 10/21/2024 in #❓┊help
Laravel Echo cannot be found on custom page in filament
I guess that you have done "npm run build", in case no, you can call that first. And in my custom filament page, i use this to listen the channel event, public function getListeners() { return [ "echo:private-channel-name,.EventName" => 'someFunction', ]; } if your channel is private, do use echo:private-channel-name, i tried followed livewire doc using echo-private:channel-name, it did not work for me, and do use the dot before the EventName, in case not working in your event add public function broadcastAs() { return 'EventName'; }. hope this helps
15 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
Thanks a lot, i will try it
19 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
In my livewire page, i do reuse the form of that resource and it works, but i have to manage the save delete ect ...
19 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
Yes!!!You got me now, i just want to use the same edit page as i have already, but in somewhere i want to call it and show it as modal
19 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
I would like to have something like $this->dispatch('open-modal', 'edit-user', ['userId'=>1]); just to open the filament edit user modal, i guess there should be something like this😂
19 replies
FFilament
Created by Cristina on 10/18/2024 in #❓┊help
How have EditPage works both as modal and a page
Thanks for your suggestion, in fact i did it in that way, but it is annoying to handle some relationship and some filed, and also i have to manage the save/delete/cancel actions, i think it is just a waste not to use the native filament edit modal
19 replies
FFilament
Created by SOIX on 10/16/2024 in #❓┊help
Share state between nested modal
This should work, in the action modal, use ->form([...])->mountUsing(function (Form $form, Forms\Get $get) { $form->fill([ 'color' => $get('heading.color') ?? 'something' ]); })
5 replies