From 215d531a6191f0af88c89d86c0626b3880dc20ce Mon Sep 17 00:00:00 2001 From: Gerrit Hoffschulte <67461498+aw-gerrit@users.noreply.github.com> Date: Sat, 16 Jan 2021 15:25:34 +0100 Subject: [PATCH] Update CrudNavMacro.php --- src/Macros/CrudNavMacro.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Macros/CrudNavMacro.php b/src/Macros/CrudNavMacro.php index dd7f4e0..5a03217 100644 --- a/src/Macros/CrudNavMacro.php +++ b/src/Macros/CrudNavMacro.php @@ -20,7 +20,7 @@ public function register() $form->input('title')->title('Link Text')->translatable(); // Route field. - $form->route('route')->title('Route')->collection('app'); + $form->route('route')->title('Route')->collection('app')->allowEmpty(); // Next we are allowing to append field by passing the form to // a closure if given.