diff --git a/src/Nova/Key.php b/src/Nova/Key.php index dadcf00..ae7bc94 100644 --- a/src/Nova/Key.php +++ b/src/Nova/Key.php @@ -29,14 +29,14 @@ public function fieldsForIndex(NovaRequest $request) { return array_filter([ ID::make()->sortable(), - Text::make('Name')->sortable(), + Text::make('Slug')->sortable(), ]); } public function fields(Request $request) { return array_filter([ - Text::make('Name')->required(), + Text::make('Slug'), new Panel('Data Fields', $this->dataFields()), ]);