LHNCBC / lforms

See the project website at http://lhncbc.github.io/lforms/, or view the demo website at https://lhcforms.nlm.nih.gov/lhcforms.
Other
107 stars 56 forks source link

Validation popover addresses wrong answer in repeatable item #146

Closed Harown closed 6 months ago

Harown commented 8 months ago

Given

A questionnaire with an repeatable item with an invalid first answer. More answer inputs are created by clicking the "Add another row of" button.

Expected

The validation popover should address the first answer.

Actual

The validation popover addresses the lowest (bottommost?) answer:

image

Tested version

35.0.4 (latest)

Fiddle: https://jsfiddle.net/axk57f4L/1/

Thanks!

plynchnlm commented 8 months ago

Thanks for this clear bug report and the jsfiddle.

plynchnlm commented 6 months ago

This is fixed as of 36.0.2.