jerry55551
jerry55551
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
gotta head off for a bit but if anyone has any ideas on this it'd be greatly appreciated. i really need it :/
101 replies
FFilament
Created by fede8100 on 8/4/2023 in #❓┊help
How to access the record on a custom page?
no errors, no nothing. it just doesn't work. im trying to pop it in a wire:click to let "staff" manually add people to "event positions" while viewing an event. dd()ing my wire:click works fine, just nothing when it comes to the action. im really confused.
18 replies
FFilament
Created by fede8100 on 8/4/2023 in #❓┊help
How to access the record on a custom page?
this works and I'm doing this but I can't for the life of me get a CreateAction to work on the ViewRecord page to pop a modal.
18 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
yeah idk im stumped lol
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
just bumped to 3.0.8 that just released just in case, that didn't fix it either. lol
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
it looks like i could do some of the stuff im doing on this page with custom info list layouts or idk do some fancier stuff than im doing now but to start i just want to get the basic modal popping in my component lol
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
:/ im genuinely confused. ive been at it for a few days and haven't had a single hiccup til now lol
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
yeah i didnt think i did, and yeah my view is wrapped in <x-filament-panels::page> just like the example at the bottom of the viewing-records page
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
added <x-filament-actions::modals /> to my view just now as a sanity check but no change.
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
and then it says https://filamentphp.com/docs/3.x/panels/pages#adding-actions-to-pages about pages already being wired up and ready to roll so i figured it was free game lol
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
it shows this 😩
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
use Filament\Actions\CreateAction;
use Filament\Forms\Components\TextInput;

CreateAction::make()
->model(Post::class)
->form([
TextInput::make('title')
->required()
->maxLength(255),
// ...
])
use Filament\Actions\CreateAction;
use Filament\Forms\Components\TextInput;

CreateAction::make()
->model(Post::class)
->form([
TextInput::make('title')
->required()
->maxLength(255),
// ...
])
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
what would the full namespace be? if i just do Action\CreateAction it uses my current namespace which is namespace App\Filament\Resources\EventResource\Pages
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
for which, the view?
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
pretty much allowing them to manually assign staff without them having an application
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
so the Assign Staff is what im trying to get to pop the CreateAction for a modal
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
and the template is a bit more custom further up so i did it all with a custom view
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
havent had any issues
101 replies
FFilament
Created by jerry55551 on 8/5/2023 in #❓┊help
Use Action in custom ViewRecord page
$record works in my view, etc.
101 replies