fieldsForDetail is evaluted on Index page by Filters (it should not be) #5724
-
Description:I have a Product Nova Resource in which I would like to have very separate fields for Index and Details. The reason for this is that I have a very complex custom field which I do not want to show on Index. Nova's Filter function does not respect it. When you open the Index page of the resource (code) below, you get an Exception on Detailed steps to reproduce the issue on a fresh Nova installation: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Unfortunately this is required to support filterable field on BelongsToMany etc where it is specific for Detail . |
Beta Was this translation helpful? Give feedback.
-
|
This is an issue for me too. I have a resource with a lot of fields that may take time to compute or retrieve. The resource is read-only. I use fieldsForIndex, fieldsForDetail and fields. |
Beta Was this translation helpful? Give feedback.
Unfortunately this is required to support filterable field on BelongsToMany etc where it is specific for Detail .