What is the best way to configure what fields we display in a association SHOW view? #2251
Replies: 2 comments
-
We are not encouraging to use Please use the In order to show/hide the field based on the fact that it's a has_one, you can check the
|
Beta Was this translation helpful? Give feedback.
0 replies
-
CLosing to keep the queue open. Pleas feel free to reopen if needed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say you have a User that has_many UserAddresses. In your user resource, you have something like this:
How can I configure different fields only when displaying on this User page? I want to see more fields if I go directly to the user addresses resource views, but when viewing from the User perspective, I might just need to see the Full Address + edit controls.
Is this currently possible? I could not find easily in the docs.
Beta Was this translation helpful? Give feedback.
All reactions