Skip to content

Commit

Permalink
Default value for depth is now 1 instead of 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkidn committed Dec 7, 2023
1 parent a94b002 commit 2726aec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Filament/Resources/MenuResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public static function form(Form $form): Form
->rows(3),

Components\TextInput::make('depth')
->default(0)
->default(1)
->minValue(1)
->type('number')
->required(),
]),
Expand Down

0 comments on commit 2726aec

Please sign in to comment.