flattenFields doesn't work if field with sub-fields has a Name #1971
-
Bug ReportIf collection config have fields with type:
And they have a name, flattenFields will skip sub-fields Steps to Reproduce
Other DetailsCaused by this check, it'd be better to first check if field have a sub-fields despite having a name, then if it doesn't check for a name and return new array |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @HoneySpace — this is actually working as intended, although the function could be misleading. It does not flatten ALL fields, it only flattens the fields that exist within a non-named field. What are you looking to do? Can I help? Gonna convert this to a discussion to keep it going. |
Beta Was this translation helpful? Give feedback.
Hey @HoneySpace — this is actually working as intended, although the function could be misleading. It does not flatten ALL fields, it only flattens the fields that exist within a non-named field.
What are you looking to do? Can I help? Gonna convert this to a discussion to keep it going.