Announcement

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

    SelectItem / ComboBoxItem pick list not shown

    Hi guys,

    I am working on an application that contains many forms, and currently I am building support for drop down lists. I noticed different behavior across various browsers. Since the bug tracker advises to first check here I was wondering if you guys can advise me on something I might have missed?

    Basically A SelectItem or ComboBoxItem form field does not show their pick list in Chrome. In Firefox they do.

    The code that I am using is straight from the showcase:

    Code:
    SelectItem selectItem = new SelectItem();
    selectItem.setTitle("Select");
    LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
    valueMap.put("1", "A");
    valueMap.put("2", "B");
    valueMap.put("3", "C");
    selectItem.setValueMap(valueMap);
    After which I add the dropdown to a DynamicForm.

    In firefox this works as expected. In Chrome nothing happens when I click the picker-icon next to the dropdown field. Using the Up&Down arrows I am able to iterate through the values, though with strange behavior: There is an extra entry after "C", a number like 4550, seemingly a object reference or the like.

    Has anybody experienced this issue before?

    The SmartGWT version I am currently using is the latest nightly build: SNAPSHOT_v8.3d_2012-10-03/LGPL Development Only (built 2012-10-03). The browser is Windows Chrome Version 22.0.1229.79 m.

    Thanks!

    #2
    Please see the FAQ about Chrome's bugs in GWT development mode.

    Comment


      #3
      Thanks, clear. That is an easy one to overlook :)

      Comment


        #4
        It happens to me in Firefox but it works in Chrome, it does not show the picklist if you click the arrow, you need to do several clicks in the middle of the widget :/

        Comment


          #5
          Hello Dagger88, that looks to be unique to you, and may be related to other libraries you are using. Please let us know if you isolate the cause.

          Comment

          Working...
          X