You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recomputation should be triggered as well as the xforms-value-changed event.
This all is making me wonder about the clearing behavior. It's clearly desired in a conventional cascading select context. There are cases like selects without duplicates (see forum post) where it could be surprising. I believe this has been the behavior forever but that might be worth double checking.
See related tests in SelectOneChoiceFilterTest and DynamicSelectUpdateTest.
The text was updated successfully, but these errors were encountered:
Software versions
JavaRosa v3.3.0 and prior
Problem description
ItemsetBinding.getChoices()
may mutate a select's answer if the previously-selected choice is no longer available:javarosa/src/main/java/org/javarosa/core/model/ItemsetBinding.java
Line 83 in c7a85c0
This does not trigger recomputation of dependent values or fire the
xforms-value-changed
event.Steps to reproduce the problem
Expected behavior
Recomputation should be triggered as well as the
xforms-value-changed
event.This all is making me wonder about the clearing behavior. It's clearly desired in a conventional cascading select context. There are cases like selects without duplicates (see forum post) where it could be surprising. I believe this has been the behavior forever but that might be worth double checking.
See related tests in
SelectOneChoiceFilterTest
andDynamicSelectUpdateTest
.The text was updated successfully, but these errors were encountered: