Skip to content

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

@QRuhier

Description

@QRuhier

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.

  • 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
  • Firefox
  • Safari
  • Edge
  • Other (please specify): ___

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions