I want to map over values and return an instance of my <FirstRepeatAttributeLabelAssistant /> for every label (basically to render an label above each input, number of inputs can vary).
I've started off with this:
{object.attributeCollection.questions.map((question) => (
<FirstRepeatAttributeLabelAssistant />
))}
The output of the map above is like so:
[StringAttributeModel, MemoAttributeModel, LabelAttributeModel, MemoAttributeModel, StringAttributeModel, StringAttributeModel] I only care about the "StringAttributeModel" as each of those 3 include 3 different labels (the part I care about). Their structure is like so:
How can I update my logic to ensure all of the potential labels are covered and a <FirstRepeatAttributeLabelAssistant /> component is rendered for each of them?

FirstRepeatAttributeLabelAssistant? And what did you show in your console? Was itobject.attributeCollection.questions?