F
Filament6mo ago
lmtc

Stuck on adding a livewire form modal as extraItemActions that is connected to another model

I have followed the steps on https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#setting-a-form-model and set up the modal using modalContent, I can see the form but the livewire isn't working for repeaters since the component referenced is still the parent page
Action::make('styling')
->icon('iconoir-style-border-solid')
->modalContent(function (){
$styling = new ItemStyling();
return view('livewire.forms.pages.item-styling',['styling'=>$styling]);
})
Action::make('styling')
->icon('iconoir-style-border-solid')
->modalContent(function (){
$styling = new ItemStyling();
return view('livewire.forms.pages.item-styling',['styling'=>$styling]);
})
Livewire Entangle Error: Livewire property ['stylingData.block_css'] cannot be found on component any help would be appreciated!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server