We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Columns::make() in a BlockComponent doesn't appear to work. Inputs render as expected but values are not saved.
Columns::make()
Create a blockComponent with the following getForm method
getForm
public function getForm(): Form { return Form::make([ Medias::make()->name('content_image'), Input::make()->name('title')->label('Title'), Wysiwyg::make()->name('text')->label('Caption'), Columns::make() ->left([ Input::make()->name('height')->label('Height'), ]) ->right([ Input::make()->name('width')->label('Width'), ]), ]); }
Would expect that height and width input values are saved and accessible
height
width
Height and Width inputs are not saved. Form however renders as expected.
Twill 3.x Laravel 10.x
The text was updated successfully, but these errors were encountered:
Hi @kerkness, we are going to need more detail. What do you mean by "can't use Form"?
Sorry, something went wrong.
I hit enter before adding my comment :P
Thanks @kerkness, no worries!
This PR was meant to fix columns support in block components, we'll take another look!
Okay my bad. looks like i didn't have the latest release
No branches or pull requests
Description
Using
Columns::make()
in a BlockComponent doesn't appear to work. Inputs render as expected but values are not saved.Steps to reproduce
Create a blockComponent with the following
getForm
methodExpected result
Would expect that
height
andwidth
input values are saved and accessibleActual result
Height and Width inputs are not saved. Form however renders as expected.
Versions
Twill 3.x
Laravel 10.x
The text was updated successfully, but these errors were encountered: