Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Apr 2009
    Posts
    19
    Vote Rating
    0
    bartolomiew is on a distinguished road

      0  

    Default [FNR] SpinnerField doesn't honor setEnabled(false) on triggers

    [FNR] SpinnerField doesn't honor setEnabled(false) on triggers


    Code:
    import com.extjs.gxt.ui.client.widget.form.FormPanel;
    import com.extjs.gxt.ui.client.widget.form.SpinnerField;
    import com.google.gwt.core.client.EntryPoint;
    import com.google.gwt.i18n.client.NumberFormat;
    import com.google.gwt.user.client.ui.RootPanel;
    
    public class TestSpinner implements EntryPoint {
    
    	@Override
    	public void onModuleLoad() {
    		
    		FormPanel formPanel = new FormPanel();
    		
    		SpinnerField spinnerField = new SpinnerField();
    		spinnerField.setFieldLabel("Spinner disabled");
    		spinnerField.setIncrement(Integer.valueOf(1));
    		spinnerField.setPropertyEditorType(Integer.class);
    		spinnerField.setFormat(NumberFormat.getFormat("##0"));
    		spinnerField.setAutoValidate(true);
    		spinnerField.setAllowDecimals(false);
    		spinnerField.setAllowBlank(false);
    		spinnerField.setMinValue(0);
    		spinnerField.setMaxValue(50);
    		spinnerField.setValue(25);
    
    		// you can change spinner value with triggers
    		// even with setEnabled(false);
    		spinnerField.setEnabled(false);
    		
    		formPanel.add(spinnerField);
    		
    		RootPanel.get().add(formPanel);
    
    	}
    	
    	
    }

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Fixed in SVN as of revision 2229. There was already a patch pending.

  3. #3
    Sencha User
    Join Date
    Apr 2009
    Posts
    19
    Vote Rating
    0
    bartolomiew is on a distinguished road

      0  

    Default


    Thanks, I'm grabbing the revision 2229

Similar Threads

  1. Replies: 3
    Last Post: 10 Jul 2009, 4:08 AM
  2. [FNR] Table.setColumnContextMenu(false) doesn't work
    By bhahn in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 4 Jun 2008, 9:27 PM
  3. Replies: 3
    Last Post: 20 Mar 2008, 10:47 PM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi