I'm facing a weird issue with RadioGroupItem widget in a form. I'm using setValueMap(Map) to set a Map of 3 values for the button. However, when the widget is rendered on the screen, I see 4 values, the first one being an Object Id.
Refer to the attached screenshot.
The code is this:
The problem happens in Chrome 6.0.472.62 Dev Channel. It works fine in Firefox 3.6 and IE 7.
Has anyone else seen this issue? Is there a fix or workaround?
Thanks.
Refer to the attached screenshot.
The code is this:
Code:
LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
valueMap.put("EnterpriseBlue", "Enterprise Blue");
valueMap.put("Enterprise", "Enterprise Gray");
valueMap.put("Graphite", "Graphite");
final RadioGroupItem radioGroupItem = new RadioGroupItem();
radioGroupItem.setShowTitle(false);
radioGroupItem.setValueMap(valueMap);
SC.say("Map size = "+valueMap.size());
Has anyone else seen this issue? Is there a fix or workaround?
Thanks.
Comment