2
1
0

I have a Repeat and want a component to only show on the first item. There doesn't seem to be an API function for this. I just want the visibility rule like:

$index == 0

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi Ben,

      data.$i is the reference to the index, so:

      data.$i == 0 will work

       

      1. Ben Warner

        Thanks Vincent, this seems to work fine with nested repeats also.

      CommentAdd your comment...