From dea2318a718c4cb229cfb58115dc593254d85bd3 Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Wed, 18 Jan 2023 18:06:28 +0100 Subject: [PATCH] ->hideFromIndex() --- app/Nova/Lecturer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Nova/Lecturer.php b/app/Nova/Lecturer.php index 26377a08..db8d1c24 100644 --- a/app/Nova/Lecturer.php +++ b/app/Nova/Lecturer.php @@ -104,9 +104,9 @@ class Lecturer extends Resource ->help(__('This is the introduction text that is shown on the landing page.')), Text::make('Slug') + ->hide() ->hideFromIndex() - ->rules('required', 'string', 'unique:lecturers,slug') - ->exceptOnForms(), + ->rules('required', 'string', 'unique:lecturers,slug'), Boolean::make('Active') ->rules('required')