Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03
-
Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, EE-3.3.0.GA_P04, 4.2.BETA, 4.2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #13636 - https://icesoft.my.salesforce.com/5007000001XLQOe
-
Workaround Exists:Yes
-
Workaround Description:The ace:simpleSelectOneMenu and h:selectOneMenu components do not suffer from this issue.
Description
In this scenario an ace:selectMenu is set to be able to change the backing list options on a click of a button. Initially the options are set with 10 items. On click of a button, these items are reduced to 5.
The issue is that if an option is selected in the larger range (6-10) and the list is changed, the value is set to a blank option, not the first (1) as it is being set in the backing bean.
If the reverse is performed, the first option is shown in the input field.
The issue is that if an option is selected in the larger range (6-10) and the list is changed, the value is set to a blank option, not the first (1) as it is being set in the backing bean.
If the reverse is performed, the first option is shown in the input field.
Attached test case to reproduce the issue.
Steps: