Injecting Fields from a BladePartial into a Block Form

I am creating a blade with advanced options for each block where I configure the possibility of manipulating the padding and margin of each block as well as the possibility of hiding it. I add it to my blocks using BladePartial, but it turns out that by adding it in this way it is sending the data to my main form and not to the form of each block.
public function getForm(): Form { $form = Form::make([ InlineRepeater::make()->name('items')->label('Item') ->fields([ Columns::make() ->left([ Medias::make()->label('Icono')->name('icon')->extraMetadatas(['at' => 'items[]->icon']), ]) ->right([ Input::make()->label('Texto')->name('text')->type('textarea'), ]) ]), BladePartial::make()->view('twill.BlockAvancedOptions') ]);
No description
2 Replies
ifox
ifox16mo ago
hi @luciano.mizra sorry for the delay. It looks like there's an issue with bladepartial within blocks, we'll take a look
luciano.mizra
luciano.mizra15mo ago
Thank you! I'll look for another way to solve it then for now. Have you located the error?
Want results from more Discord servers?
Add your server