# Flex Repeater not behaving like the video

**URL:** <https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [April 13, 2020, 4:07am UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879 "2020-04-13T04:07:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali.Etezadkhah](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@Ali.Etezadkhah](https://forum.inductiveautomation.com/u/Ali.Etezadkhah)\
**Post date:** [April 13, 2020, 4:07am UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879/1 "2020-04-13T04:07:06Z")

</div>

Hi,

I cannot get the Flex Repeater to behave like the instruction video. In the video, pressing the Add Array Element under the instances PROPS, brings up a list that includes value, object, and array. When I do the same, something gets added, but it doesn’t look like a value or object. I tried saving, closing, and opening the designer, but the problem still exists. I tried both left and right clicking.

Thanks,  
Ali

 ![fr1](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/ccbba59c2665740c1f39192a9bf60bf28285491f.png)

 ![fr2](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7f6912efcec70bada1eb71fab96c2f4eaa6ee450.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 13, 2020, 1:45pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879/2 "2020-04-13T13:45:58Z")

</div>

The video is out of date - the `instances` array _must_ contain a list of objects. There are two special keys available on those objects - `instanceStyle` and `instancePosition`, which allow you to customize the style and flex position props of individual views in the repeater. Since the videos were recorded, we fixed the behavior of the ‘Add array element’ shortcut on the top level (`instances`) to automatically insert a new object with the ‘correct’ property shape. To add more instances, just use the `+` symbol on `instances`.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3168415979fad5c6f15f3cf3644aaea710a3aa84.png)

If you want to add more keys (to specify additional parameters on the views), use the '+` symbol on the object:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9604b713c3d942b4b28ebbcd74aaef2ab6ffe018.png)

---

<div class="post-metadata">

**Author:** ![Ali.Etezadkhah](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@Ali.Etezadkhah](https://forum.inductiveautomation.com/u/Ali.Etezadkhah)\
**Post date:** [April 13, 2020, 3:57pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879/3 "2020-04-13T15:57:12Z")

</div>

Thank you for the correction. How do I pass a value to the PARAMS of the view instance? I don’t have a plus sign next to the instances or the array element like your screenshot.

![fc3](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/19b513e6ca631bde4e5cd051ee9d16e3a76c0ab2.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 13, 2020, 4:30pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879/4 "2020-04-13T16:30:48Z")

</div>

It’s not a sub-key - it would be another `object` member; “next to” `instanceStyle` or `instancePosition` - you should see:

```json
instances
    0
        instanceStyle
        instancePosition
        FlexInstanceParams

```

---

<div class="post-metadata">

**Author:** ![Ali.Etezadkhah](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@Ali.Etezadkhah](https://forum.inductiveautomation.com/u/Ali.Etezadkhah)\
**Post date:** [April 13, 2020, 5:10pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879/5 "2020-04-13T17:10:45Z")

</div>

Ok, but how do you add the new object? I’m assuming you’re pressing the blue plus button shown in your screenshot, but I don’t have that. Also, are you adding an object or value to access the PARAMS?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 13, 2020, 5:19pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879/6 "2020-04-13T17:19:10Z")

</div>

You should hover over the number of the instance, and click the `[+]` icon which appears, then you should select value.  
 ![41%20AM](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3f1191a50776a655194a0e959c3cf0ab6ef431d3.png)  
The new value will be added as “key”. Change “key” to match the key of the param. In Paul’s example, `FlexInstanceParams` is the key of the param in the instanced View.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 13, 2020, 5:20pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879/7 "2020-04-13T17:20:06Z")

</div>

Unless you’re on a particularly old version, in which case your UI may be a little different…but also in which case you should really update.

---

<div class="post-metadata">

**Author:** ![Ali.Etezadkhah](https://avatars.discourse-cdn.com/v4/letter/a/b19c9b/32.png) [@Ali.Etezadkhah](https://forum.inductiveautomation.com/u/Ali.Etezadkhah)\
**Post date:** [April 13, 2020, 9:49pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-not-behaving-like-the-video/33879/8 "2020-04-13T21:49:33Z")

</div>

I was using 8.0.5 and was not getting the plus button when hovering on or around the instance. I upgraded to 8.0.10 and now I can add the parameter. Thank you for your help. You should pull the the video for this topic as it’s very confusing to new users.
