Skip to content

Commit 9ee167b

Browse files
author
Ben Verbist
committed
Marked the code field of a Menu as required (as defined in db table)
1 parent 5d18914 commit 9ee167b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/MenuResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function form(Form $form): Form
7373
->maxLength(255)
7474
->helperText(flexiblePagesTrans('menus.form.name_help')),
7575

76-
CodeField::create()
76+
CodeField::create(true)
7777
->helperText(flexiblePagesTrans('menus.form.code_help')),
7878
];
7979

0 commit comments

Comments
 (0)