Page 1 of 1

Mapping array to custom component doesnt iterate correctly

Posted: Wed Apr 15, 2015 3:15 pm
by AricCaley

I have a custom component with several form fields in it. I've exported the properties I need to populate it. I've then used this component in a collapsible list.

I have mapped an array coming from a service to this collapsible list and the fields within the component.

But its not working. All the entries are the same, looks like repeats of the first one. If I break apart the component and then redo the mapping, it works.

What am I doing wrong? Do custom components just not work in a list with mapping?


Mapping array to custom component doesnt iterate correctly

Posted: Wed Apr 15, 2015 5:00 pm
by Evgene Karachevtsev

Hello Aric,

Could you please show us a screenshot of your mapping? Also please specify are there any errors in a browser console?


Mapping array to custom component doesnt iterate correctly

Posted: Wed Apr 15, 2015 5:19 pm
by AricCaley

Image

There are no errors in the browser.


Mapping array to custom component doesnt iterate correctly

Posted: Thu Apr 16, 2015 10:53 pm
by AricCaley

Any ideas? Should custom controls work inside of a collapsible list, table, etc? I cant figure this out.


Mapping array to custom component doesnt iterate correctly

Posted: Fri Apr 17, 2015 2:21 am
by Yurii Orishchuk

Hi Aric,

Yes it should work.

I've checked it and it not works as should.

I've reported a BUG to developers team.

We will let you know here about any update for this bug.

Regards.


Mapping array to custom component doesnt iterate correctly

Posted: Sun Aug 02, 2015 2:33 pm
by Illya Stepanov

Hello -

This should be fixed now, please check.