No information about selected resources or applied filters in action fields() when selecting "all matching" resources #5360
Unanswered
mattias-sanfridsson
asked this question in
Ideas & Feature Requests
Replies: 1 comment 7 replies
-
|
The filters information should be available from |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Selecting all when having a filter applied will only give the request the following data in an action's
fieldmethod:Whereas selecting specific resources will give the resource IDs:
Since there's no detail about what filter has been applied it's impossible to filter the action field data based on the selected resources.
$request->selectedResources()will also returnnull.The filter I'm using is a default BelongsTo:
And the code I'm using to log the data in the action's
fieldmethod looks like this:Detailed steps to reproduce the issue on a fresh Nova installation:
Beta Was this translation helpful? Give feedback.
All reactions