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') ]);
