Skip to content

Commit

Permalink
Merge pull request #8 from litstack/added-allow-empty
Browse files Browse the repository at this point in the history
Update CrudNavMacro.php added allowEmpty
  • Loading branch information
cbl committed Jan 18, 2021
2 parents 0760a28 + 215d531 commit 1b0df5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Macros/CrudNavMacro.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1b0df5a

Please sign in to comment.