Klavan
Klavan
FFilament
Created by Klavan on 11/19/2024 in #❓┊help
Public method [mountAction] not found on component when adding an action to Livewire component.
Hi. I'm trying to add an action to Livewire component like mentioned in documentation : https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component. I've got the following error : Unable to call component method. Public method [mountAction] not found on component. public function goLiveAction(): Action { return Action::make('goLiveAction') ->label('Passer en production') ->requiresConfirmation() ->modalWidth('lg') ->modalHeading('Passage en Production') ->action(function () { }) ->hidden(fn() => $this->merchant->in_live_mode); } <x-page.merchant :$merchant :breadcrumbs="$this->breadcrumbs"> <x-slot:headerActions> @if ($this->goLiveAction->isVisible()) {{ $this->goLiveAction }} @endif </x-slot:headerActions> <x-filament-actions::modals/> </x-page.merchant>
2 replies
FFilament
Created by Klavan on 5/5/2024 in #❓┊help
css not applied in custom page
I created a custom page with my own code in the blade file using tailwindcss. Unfortunatly the css classes are not applied. How can i fix it ?
8 replies
FFilament
Created by Klavan on 1/9/2024 in #❓┊help
Prefill Builder component
Hi. How can i prefill the Filament\Forms\Components\Builder component with data from an existing array?
5 replies
FFilament
Created by Klavan on 10/7/2023 in #❓┊help
Reduce the height of the FileUpload field?
How to customize the heihgt of FileUpload field ?
5 replies
FFilament
Created by Klavan on 7/8/2023 in #❓┊help
Hi! How can i use filament Action component while using a custom livewire component ?
I'm using livewire component and i wish to make a button using filament Action component. How could i do this ?
5 replies
FFilament
Created by Klavan on 6/11/2023 in #❓┊help
Repeater
Hi everyone, when I add a new item to the edit form using the Repeater component, I get this error message: "Alpine: Cannot reference "$wire" outside a Livewire component." I need help. Thank you in advance.
8 replies