Lunatic icon indicating copy to clipboard operation
Lunatic copied to clipboard

non paginated loop : controls are not displayed if loop dimension is "static"

Open QRuhier opened this issue 5 months ago • 2 comments

Describe the bug

When setting a non paginated loop with a fixed value of min/max number of iterations (even if it is defined by an external variable) , controls are not displayed.

There is no problem if the dimension is defined by a non static value (collected, calculated with real calculation...).

The problem is present, with and without Question component.

  • [x] I tested it on the storybook, which leads me to believe that it's a lunatic bug.

To Reproduce

Steps to reproduce the behavior:

working.json not_working.json

Expected behavior

Controls should be displayed in non paginated loop whatever how we define the number of iterations

Screenshots

Version where the bug appeared

Browser where the bug was tested

  • [ ] Chrome
  • [x] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] Other (please specify): ___

Additional context

Add any other context about the problem here.

QRuhier avatar Sep 20 '24 10:09 QRuhier