Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2010
    Posts
    37
    Vote Rating
    0
    rchloupe is on a distinguished road

      0  

    Default [FIXED]formBind on button in FormPanel

    [FIXED]formBind on button in FormPanel


    I'm putting formBind on button in a formPanel, however, the button is not disabled when the page is first displayed. To get the button to be disabled I have enter invalid data into a form field.


    Code:
    Ext.create('Ext.form.FormPanel', {
    	items: [{
    	    xtype: 'textfield',
    	    fieldLabel: 'First Name',
    	    allowBlank:false
    	}],
    	buttons: [{
    	    text: 'Save',
    	    formBind: true,
    	    handler: function() { console.log('click'); }
    	}]
    }).render(document.body);

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,908
    Vote Rating
    626
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This should be fixed in the next release.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Replies: 9
    Last Post: 1 Nov 2010, 1:52 PM
  2. New Feature: formBind any item in a FormPanel
    By Scott Murawski in forum Ext 3.x: User Extensions and Plugins
    Replies: 0
    Last Post: 3 Dec 2009, 12:01 PM
  3. Toolbar Button Formbind
    By mknopp in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 18 Mar 2009, 7:30 PM
  4. Replies: 5
    Last Post: 16 Dec 2007, 1:44 PM

Thread Participants: 1

Tags for this Thread