-
Description:Stack::make('Users', [
BelongsTo::make('Patron', 'patron', User::class)
->hideFromIndex(function ($request, $resource) {
return $resource->type === 'incoming';
})
}); When any field is in What I want to do is hide field on index depending on other field value. Detailed steps to reproduce the issue on a fresh Nova installation:
|
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
Jun 27, 2024
Replies: 1 comment 2 replies
-
Shouldn't you already be able to use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lenses can only display index so having an option to hide it isn't ideal.