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
99 stars 55 forks source link

Validation popover addresses wrong answer in repeatable item #146

Closed Harown closed 2 months ago

Harown commented 3 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 3 months ago

Thanks for this clear bug report and the jsfiddle.

plynchnlm commented 2 months ago

This is fixed as of 36.0.2.