Skip to content

Commit

Permalink
fix title in slideshow form
Browse files Browse the repository at this point in the history
  • Loading branch information
bastihilger committed Dec 21, 2021
1 parent df1e1a3 commit 3568868
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Nova/Slideshow.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ public function fields(Request $request)
])
->onlyOnIndex(),

Text::make(__('nova-cms::pages.title'), 'title')
->rules('required')
->onlyOnForms(),

BelongsToManyField::make(__('nova-cms-portfolio::categories.categories'), 'categories', Category::class)
->optionsLabel('title')
->onlyOnForms(),
Expand Down

0 comments on commit 3568868

Please sign in to comment.