Results 1 to 2 of 2

Thread: [FIXED] 0.99 - Field focus / blur events don't work as advertised

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236

    Default [FIXED] 0.99 - Field focus / blur events don't work as advertised

    The Field focus/blur events don't work as advertised in 0.99.

    Run the following code in Chrome with the debug console open:
    Code:
    Ext.setup({
        onReady: function() {
            Ext.create({
                xtype: 'form',
                fullscreen: true,
                items: [{
                    xtype: 'textfield',
                    label: 'Text',
                    listeners: {
                        focus: function() {
                            console.log('focus', arguments);
                        },
    
                        blur: function() {
                            console.log('blur', arguments);
                        }
                    }
                }]
            });
        }
    });
    then click in and outside the lone textfield.

    the arguments which are passed to the focus / blur event listeners are
    [Ext.EventObject, what appears to be an Ext.form.Field listeners config]

    instead of
    [Ext.form.Field]

    as suggested by the docs.
    Last edited by mystix; 9 Nov 2010 at 9:46 AM. Reason: simplified testcase

  2. #2
    Sencha User Jacky Nguyen's Avatar
    Join Date
    Jul 2009
    Location
    Palo Alto, California
    Posts
    469

    Default

    Thank you very much for your report. We have got this fixed and it should be available shortly in our next release.

Similar Threads

  1. Focus and Blur events for ListView
    By mystic0n3 in forum Ext GWT: Discussion
    Replies: 5
    Last Post: 19 Mar 2010, 12:43 PM
  2. Checkbox blur and focus events not firing
    By stingrae in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 26 Nov 2009, 3:20 AM
  3. Add blur and focus events to an HTML Editor?
    By zhegwood in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 16 Apr 2009, 10:08 AM
  4. [2.2] Checkbox/Radio events: blur & focus
    By bobbicat71 in forum Ext 2.x: Bugs
    Replies: 3
    Last Post: 19 Sep 2008, 12:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •