#Nested Field Issues in List View

14 messages · Page 1 of 1 (latest)

rigid matrixBOT
#

hey there beloved payload creator and users

i have a small question

something like that in list veiw dont work

i mean when its nasted

my field is nasted inside a tab

jaunty stagBOT
#
#

Original message from @celest quarry - Moved from #general message

stark wave
#

Hey @celest quarry

I don't believe this is possible with nested fields iirc.

I think you have a few options of what you can do here:

  1. Create a custom Cell component on your tab to surface this in the list view, then use the tabs field name in default columns
  2. Use a hidden top-level field and a beforeChange hook to populate it, then add this field t oyour defaultColumns
celest quarry
#

well a nasted filed inside a tab works

#

but a nasted group inside a tab doesn't

#

so yeah i just put field i need in top of the tab

stark wave
#

Right, a group in general in the list view surfaces as a json-like object

celest quarry
#

i didnt want to opt for the second option you proposed until it nessecary

#

thanks for your help, will mark this as solved

stark wave
#

It's my pleasure

celest quarry
#

and it will be very cool if we can make a group field as a column

jaunty stagBOT
#

You do not have permission to mark this thread as solved. Only thread creators, contributors and payload team members can mark a thread as solved.