Add function to Resource filterable{Model} as we have relatable{Model} and respect Policy #4771
Replies: 1 comment
-
The
Which would also then be applied to the dynamic methods shown right below. I'm not sure if they use the Policies at this time, though, but it is listed in the Authorization section of the documentation. I spent a few hours yesterday, trying to filter the I'd too like to filter relationship fields selection menus, so this came as a happy surprise. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to get a function so we can filter the "->filterable()" function and respect the Policies.
Sometimes i got options which are not available for a specific Resource, and doesn't want to show in the select
Beta Was this translation helpful? Give feedback.
All reactions