Skip to content

Commit

Permalink
Merge pull request #18 from Nova-BI/cord-patch-3
Browse files Browse the repository at this point in the history
Cord patch 3
  • Loading branch information
marispro authored Sep 28, 2021
2 parents c557af6 + bf35cc4 commit a719719
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Nova/DashboardConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function fields(Request $request)
return
array_merge(
[
Text::make(__('Name'), 'name'),
Text::make(__('Name'), 'name')->rules('required'),
Textarea::make(__('Description'), 'description')
->alwaysShow()
->rows(3)
Expand Down
2 changes: 1 addition & 1 deletion src/Nova/Datafilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function fields(Request $request)
return
array_merge(
[
Text::make(__('Name'), 'name')->required(),
Text::make(__('Name'), 'name')->required()->rules('required'),
Textarea::make(__('Description'), 'description')
->alwaysShow()
->rows(3)
Expand Down
2 changes: 1 addition & 1 deletion src/Nova/Datawidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function fields(Request $request)
return
array_merge(
[
Text::make(__('Name'), 'name')->creationRules('required'),
Text::make(__('Name'), 'name')->rules('required'),
Textarea::make(__('Description'), 'description')
->alwaysShow()
->rows(3)
Expand Down

0 comments on commit a719719

Please sign in to comment.