-
Hello, im wondering if its posible to use the update operation UI with all fields but hidding the save action button. I want to use the update UI only for showing the fields. Its possible?? Any help? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 5 replies
-
Hello @aberaldo You can achieve a similar result setting up in your $this->crud->replaceSaveActions([
'name' => 'Return',
'redirect' => function($crud,$request,$id) {
return redirect()->back();
}
]);
$this->crud->setOperationSetting('showCancelButton', false); |
Beta Was this translation helpful? Give feedback.
-
Is there a solution to this? Its seems that te edit action is executed. I want to hide that button. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@pxpm I solved hidding the button from the view with css and in the authorize method of the request always returning false. |
Beta Was this translation helpful? Give feedback.
@pxpm I solved hidding the button from the view with css and in the authorize method of the request always returning false.
As an improvement i think it should be an easy way to do this. Maybe allowing deleting all save actions without throwing an exception?
Thanks