AricCaley
Posts: 0
Joined: Thu Jul 18, 2013 11:22 pm

Mapping array to custom component doesnt iterate correctly

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?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Mapping array to custom component doesnt iterate correctly

Hello Aric,

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

AricCaley
Posts: 0
Joined: Thu Jul 18, 2013 11:22 pm

Mapping array to custom component doesnt iterate correctly

Image

There are no errors in the browser.

AricCaley
Posts: 0
Joined: Thu Jul 18, 2013 11:22 pm

Mapping array to custom component doesnt iterate correctly

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Mapping array to custom component doesnt iterate correctly

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Mapping array to custom component doesnt iterate correctly

Hello -

This should be fixed now, please check.

Return to “Issues”