-
9 Mar 2011 8:24 AM #1
[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);
-
15 Mar 2011 3:19 AM #2
This should be fixed in the next release.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-76] Can't add formBind:true to a button in fbar of a FormPanel
By ExtKD in forum Ext Designer: BugsReplies: 9Last Post: 1 Nov 2010, 1:52 PM -
New Feature: formBind any item in a FormPanel
By Scott Murawski in forum Ext 3.x: User Extensions and PluginsReplies: 0Last Post: 3 Dec 2009, 12:01 PM -
Toolbar Button Formbind
By mknopp in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 18 Mar 2009, 7:30 PM -
[2.0][CLOSED] Ext.form.FormPanel bindHandler, monitorValid, formBind
By christocracy in forum Ext 2.x: BugsReplies: 5Last Post: 16 Dec 2007, 1:44 PM


Reply With Quote