When a control value within a loop depends on another control's value, it does not update correctly when multiple values are input into the dependent control.
Solution
The proposed solution is to update the selected option with the updated values of the dependent inputs. In this way, when the evaluation of isEquals is executed, the objects can match and evaluate as true, preventing the selected option from being lost in the dropdown list.
When a control value within a loop depends on another control's value, it does not update correctly when multiple values are input into the dependent control.
Solution
isEquals
is executed, the objects can match and evaluate as true, preventing the selected option from being lost in the dropdown list.How to test
Related tickets