Open jesnagifto opened 1 year ago
plz help me fast
Read the documentation
Note: For each column edit setting, you need to have a corresponding field in the form.
that's ok but how to add to this?
Your need create OperationsController and add form function
or
Something like this
public function update_operation($id)
{
return Admin::form(Operations::class, function (Form $form) {
$form->textarea('adm_remarks');
$form->text('approval_status');
})->update($id);
}
add to app\Admin\routes.php file
$router->put('operations/update/{id}', 'YOURCLASSController@update_operation')->name('operations.update');
that's ok but how to add to this?
hello,这个问题你搞定了吗?查了一天了没搞定这个行内编辑怎么用,文档太简略了,对新手有点难。。。。
版本是V1.8.10,谢谢。
Description:
my code is
protected function form($id = null)
Steps To Reproduce: