Announcement

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

    SelectItem not working in Chrome

    I am running into a problem with the SelectItem on Google Chrome in the latest nightly build of SmarGWT LGPL. I am running in development mode.

    SmartClient Version: SC_SNAPSHOT-2012-01-09_v8.2p/LGPL Development Only (built 2012-01-09)
    Chrome 16.0.912.75

    I have a simple test client that populates a SelectItem. In FireFox, I can select the down arrow on the SelectItem to see the options of the SelectItem. In Chrome, the down arrow doesn’t show the options in the SelectItem.

    This works on Firefox version 4 and 8.0.1

    My SelectItem code is based on the Smart GWT Showcase from the following example:
    http://www.smartclient.com/smartgwt/showcase/#grid_db_dragging_featured_category

    This Showcase example works in Chrome. Looking at the developer console, the showcase is running the following version:
    SmartClient Version: SC_SNAPSHOT-2011-12-08/LGPL Development Only (built 2011-12-08)

    I am running on a Max OS X Lion

    Is this a known issue? I saw other similar issues, but they appeared to be fixed by some 3.0 patches.

    Code:
     
    public class TEST implements EntryPoint {
    	
    	private String[] data = new String[] {
    			"test1", "test2", "test3", "test4", "test5" };  
    
    	public void onModuleLoad() {
    				
    		final DynamicForm form = new DynamicForm();  
    		form.setWidth100();  
                    form.setHeight(30);  
      
                    SelectItem selectItemTest = new SelectItem("items", "SelectItem");  
                    selectItemTest.setDefaultValue(data[0]);  
                    selectItemTest.setValueMap(data);  
                    form.setFields(selectItemTest);  
            
                    RootPanel.get().add(form);
    	}
    }

    Thanks,
    Cory

    #2
    See FAQ on development mode issues with Chrome.

    Comment

    Working...
    X