From a2c4e1c4e530461e7603faeb01e214ef25c942ff Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Wed, 18 Jan 2023 18:05:12 +0100 Subject: [PATCH] ->hideFromIndex() --- app/Nova/Lecturer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Nova/Lecturer.php b/app/Nova/Lecturer.php index 03ebea32..26377a08 100644 --- a/app/Nova/Lecturer.php +++ b/app/Nova/Lecturer.php @@ -90,9 +90,11 @@ class Lecturer extends Resource Text::make('Twitter username', 'twitter_username') ->help(__('Without @')) + ->hideFromIndex() ->rules('nullable', 'string'), Text::make('Website', 'website') + ->hideFromIndex() ->rules('nullable', 'url'), Markdown::make(__('Subtitle'), 'subtitle') @@ -102,6 +104,7 @@ class Lecturer extends Resource ->help(__('This is the introduction text that is shown on the landing page.')), Text::make('Slug') + ->hideFromIndex() ->rules('required', 'string', 'unique:lecturers,slug') ->exceptOnForms(),