Hi,
In SmartGwt 3.1P when the user enters 2 digits values through keyboard for picklist its not getting selected what it is entered. Picklist contains 1 to 31 integer values. So if we enter 12 through keyboard its selected 1 and later 2.
// Code used
final SelectItem selectItemMultiplePickList = new SelectItem();
selectItemMultiplePickList.setTitle("Select Multiple (PickList)");
selectItemMultiplePickList.setMultiple(true);
selectItemMultiplePickList.setMultipleAppearance(MultipleAppearance.PICKLIST);
LinkedHashMap<Integer, Integer> map=new LinkedHashMap<Integer, Integer>();
for (int i = 0; i < 31; i++) {
map.put(i + 1, i + 1);
}
selectItemMultiplePickList.setValueMap(map);
selectItemMultiplePickList.setDefaultValue(map.get(1));
//Code finished
We migrated from SmartGwt 3.1P to SmartGwt 4.0P even still the issue exists.
Please let us know your comments.
In SmartGwt 3.1P when the user enters 2 digits values through keyboard for picklist its not getting selected what it is entered. Picklist contains 1 to 31 integer values. So if we enter 12 through keyboard its selected 1 and later 2.
// Code used
final SelectItem selectItemMultiplePickList = new SelectItem();
selectItemMultiplePickList.setTitle("Select Multiple (PickList)");
selectItemMultiplePickList.setMultiple(true);
selectItemMultiplePickList.setMultipleAppearance(MultipleAppearance.PICKLIST);
LinkedHashMap<Integer, Integer> map=new LinkedHashMap<Integer, Integer>();
for (int i = 0; i < 31; i++) {
map.put(i + 1, i + 1);
}
selectItemMultiplePickList.setValueMap(map);
selectItemMultiplePickList.setDefaultValue(map.get(1));
//Code finished
We migrated from SmartGwt 3.1P to SmartGwt 4.0P even still the issue exists.
Please let us know your comments.
Comment