-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugVerified bug by the Nova teamVerified bug by the Nova teamfix incomingA fix is in reviewA fix is in review
Milestone
Description
- Laravel Version: 10.48.27
- Nova Version: 5.2.1
- PHP Version: 8.2
Description:
When you collapse the "action events" relation, which is added through the "Actionable" trait, it does not stay closed after page refresh.
Detailed steps to reproduce the issue on a fresh Nova installation:
- Create a model that uses the actionable trait.
- Create a resource for that model
- Execute an action on that resource
- The action events should show up with one record
- Collapse the relation
- f5
- It keeps on loading in an uncollapsed state
Probable solution
- Laravel Nova 4 regardless of calling ->collapsable() on a relation, stored the state when you collapsed the relation.
- Related issue (undocumented change in behaviour from 4 to 5): Relationship collapsed state not stored anymore #6726 (comment)
- I guess the "action events" relation is added by default, based on the Actionable trait being available on the model. The default should be "collapsable()" im guessing for this relation? Why would you always want this relation to load.
Metadata
Metadata
Assignees
Labels
bugVerified bug by the Nova teamVerified bug by the Nova teamfix incomingA fix is in reviewA fix is in review