Skip to content

Commit

Permalink
only show on create
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJump24 committed Dec 28, 2024
1 parent 17fa5fa commit 017fcc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Filament/Resources/IncidentResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public static function form(Form $form): Form
->default(ResourceVisibilityEnum::guest)
->required(),
Forms\Components\Repeater::make('incidentComponents')
->visibleOn('create')
->relationship()
->defaultItems(0)
->addActionLabel('Add component')
Expand Down

0 comments on commit 017fcc0

Please sign in to comment.