setStatus($fields->status); } } /** * Get the fields available on the action. */ public function fields(NovaRequest $request): array { return [ Select::make('Status') ->options([ 'draft' => 'DRAFT', 'published' => 'PUBLISHED', ]) ->displayUsingLabels(), ]; } }