Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    RadioGroupItem Bug in Chrome

    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:

    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());
    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.
    Attached Files

    #2
    Does this appear in the latest official (non-dev) Chrome version as well?

    Comment


      #3
      Finally I got a chance to downgrade Chrome to the Stable channel (which btw now is 6.0.472.63) and I still see the same problem. In fact I found one more issue, but I'll post that in a separate thread and not complicate matters here.

      Thanks.

      Comment

      Working...
      X