Hi All,
I have two drop-downs where the 2nd drop-down is populated based on the value selected in the 1st drop-down.
Please let me know how to make the first available value in the 2nd drop-down to be selected by default when the 1st drop-down selection changes. Currently the old selected value is retained in the 2nd drop-down when the 1st drop-down value is updated.
NOTE : This issue does not occur on page load because of selectFirstChoice, but happens on subsequent changes.
Eg : 2nd drop-down has {A,B,C} and A is selected on page load. When 1st drop-down is updated, 2nd drop down has {X,Y,Z} values, but still A is retained as the default value.
Thanks in advance!
... View more