slideOver not working for me
I am a veteran developer but newbie with Laravel/filament. Working thru Dary's video on duplicating the filament demo. I have a snippet below that you can see in the cations I have added a ->slideOut on the Edit. Thing is it does not work and I have no idea why, Thoughts?
```
public static function form(Form $form): Form
{
return $form
->schema([
Forms\Components\Group::make()
->schema([
Section::make()
->schema([
TextInput::make('name')
->required()
->unique()
}),
]),
]),
]);
}
public static function table(Table $table): Table
{
return $table
->columns([
Tables\Columns\TextColumn::make('name')->searchable()->sortable(),
TextColumn::make('parent_name')->label('Parent')->searchable()->sortable(),
IconColumn::make('is_visible')->label('Visibility')->searchable()->sortable(),
TextColumn::make('updated_at')->label('Updated at')->date()->sortable(),
])
->filters([
//
])
->actions([
//Tables\Actions\ActionGroup::make([
//Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make()->slideOver(),
//Tables\Actions\DeleteAction::make(),
//])
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
]);
}
```
public static function form(Form $form): Form
{
return $form
->schema([
Forms\Components\Group::make()
->schema([
Section::make()
->schema([
TextInput::make('name')
->required()
->unique()
}),
]),
]),
]);
}
public static function table(Table $table): Table
{
return $table
->columns([
Tables\Columns\TextColumn::make('name')->searchable()->sortable(),
TextColumn::make('parent_name')->label('Parent')->searchable()->sortable(),
IconColumn::make('is_visible')->label('Visibility')->searchable()->sortable(),
TextColumn::make('updated_at')->label('Updated at')->date()->sortable(),
])
->filters([
//
])
->actions([
//Tables\Actions\ActionGroup::make([
//Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make()->slideOver(),
//Tables\Actions\DeleteAction::make(),
//])
])
->bulkActions([
Tables\Actions\BulkActionGroup::make([
Tables\Actions\DeleteBulkAction::make(),
]),
]);
}
Solution
Sorry about the code layout. I will comply.
Yes it did have a edit page and commenting that out did the trick. Two slashes and fixed. I wish all of life's issues were that easy.
Yes it did have a edit page and commenting that out did the trick. Two slashes and fixed. I wish all of life's issues were that easy.