Johny
Johny
I mean the use of the ability to break into blocks in the crud fields method
in laravel orchid, screens have a layout method that supports the Layout::columns, Layout::rows methods - to break information with fields into blocks. and making the page a little more interesting...
public function fields(): array { return [ Layout::columns([ Layout::rows([ CheckBox::make('disabled')->sendTrueOrFalse() ]) ]), Group::make([ Input::make('name')->title('Назва')->placeholder('Вкажіть назву')->required(), Input::make('slug')->type('url')->title('Посилання')->placeholder('Формується автоматично від назви')->required(), ]), ]; } --dont work in CRUD PostResource
public function layout(): iterable { return [ Layout::columns([ Layout::rows([ Input::make('name') ->title('Full Name:') ->placeholder('Enter full name') ->required() ->help('Please enter your full name'), Input::make('email') ->title('Email address') ->placeholder('Email address') ->help("We'll never share your...