Skip to content

Collapsible Panel as first field won't collapse #6602

@ekateiva

Description

@ekateiva
  • Laravel Version: 11.30.0
  • Nova Version: v4.35.4
  • PHP Version: 8.3.9
  • Database Driver & Version: MySQL
  • Operating System and Version: macOS 14.4
  • Browser type and version: Chrome 130.0.6723.92
  • Reproduction Repository: N/a

Description:

When you define a Panel::make(...)->collapsable() as the first fields() element, it is not collapsable and the arrow is not even seen.

image

Detailed steps to reproduce the issue on a fresh Nova installation:

public function fields(NovaRequest $request)
{
        return [
            Panel::make('First Panel', [
                // Fields
            ])
            ->collapsable(),
            // ...
            // Other fields
        ];
}

Related issue

#4749

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions