->hideFromIndex()

This commit is contained in:
Benjamin Takats
2023-01-18 18:06:28 +01:00
parent a2c4e1c4e5
commit dea2318a71

View File

@@ -104,9 +104,9 @@ class Lecturer extends Resource
->help(__('This is the introduction text that is shown on the landing page.')), ->help(__('This is the introduction text that is shown on the landing page.')),
Text::make('Slug') Text::make('Slug')
->hide()
->hideFromIndex() ->hideFromIndex()
->rules('required', 'string', 'unique:lecturers,slug') ->rules('required', 'string', 'unique:lecturers,slug'),
->exceptOnForms(),
Boolean::make('Active') Boolean::make('Active')
->rules('required') ->rules('required')