Render tabs on has_one field
# avo-2
c
Hi I'm trying to get panels or tabs to show in an associated record inside a tab panel. Is this possible? I have a Client with multiple tabs. One tab is Company Profile. Company Profile has 5-6 sections. When you look at a Company Profile by itself, it would ideally show up as 5-6 tabs, one for each section. However, when I put Company Profile inside a tab on the Client resource, it only shows one or two fields that are not contained inside panels/tabs in the Company Profile resource. To me this is kind of pointless - I'd like to view all that content on the Client page if possible. Is this something we can do with Avo?
l
Hi @cool-dog-91630 , per default avo doesn't render the tabs while rendering a has_one field, it renders the main panel and the sidebar if exists
l
Yes @cool-dog-91630. That's by design. We would welcome a PR to add an
render_tabs
option to the
has_one
field to support this use case