Skip to content

Commit 309cb91

Browse files
committed
add the option to the operation config
1 parent 2507ba6 commit 309cb91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/config/backpack/operations/update.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
// How would you like the validation errors to be shown?
1818
'groupedErrors' => true,
19-
'inlineErrors' => true,
19+
'inlineErrors' => true,
2020

2121
// when the page loads, put the cursor on the first input?
2222
'autoFocusOnFirstField' => true,
@@ -32,6 +32,9 @@
3232
// Should we show a cancel button to the user?
3333
'showCancelButton' => true,
3434

35+
// Should we show the delete button on the edit form?
36+
'showDeleteButton' => false,
37+
3538
// Should we warn a user before leaving the page with unsaved changes?
3639
'warnBeforeLeaving' => false,
3740

0 commit comments

Comments
 (0)