MultiValue Control Does Not Update Conditional List Items
I'm not sure when this stopped working, but I'm pretty sure it used to work.
When the SUGGESTEDVALUE items are conditional on another field's value (used with WHEN clauses), and the value in the conditional field changes, the suggested values do not update. This works fine when the control is defined as a Field control. It only fails to work when the control is defined as a MultiValueControl.
For example:
```
<FIELD name="Animal Locomotion" refname="Animal.Locomotion" type="String">
<WHEN field="Animal.Type" value="Horse">
<SUGGESTEDVALUES>
<LISTITEM value="[Walk]" />
<LISTITEM value="[Trot]" />
<LISTITEM value="[Run]" />
</SUGGESTEDVALUES>
</WHEN>
<WHEN field="Animal.Type" value="Dolphin">
<SUGGESTEDVALUES>
<LISTITEM value="[Swim]" />
<LISTITEM value="[Leap]" />
<LISTITEM value="[Dive]" />
</SUGGESTEDVALUES>
</WHEN>
</FIELD>
```
When Animal Type starts out Horse, the Animal Locomotion correctly displays Walk, Trot, and Run. However, when Animal Type is switched to Dolphin, Animal Locomotion stays at Walk, Trot, and Run, instead of changing to Swim, Leap, and Dive.
Again, the behavior is correct when using a field control instead of a multi value control.
Thanks for your attention!
Priority: 0 Unassigned
Vote count: 3
Last updated: 19.05.2016 5:00:38 -07:00
Planned for release:
Resolution:
Closed: