Results 1 to 3 of 3

Thread: 6.5.0 classic: Ext.form.field.Text.onBlur() reference to outscoped variable

    Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    Jan 2016
    Location
    Brazil
    Posts
    138

    Default 6.5.0 classic: Ext.form.field.Text.onBlur() reference to outscoped variable

    Hello!

    I believe this is pretty clear and a test case wouldn't be required at all. To trigger this one of the scenarios would be:
    - an Ext.form.field.Text text field
    - defining an inputMask string, say aAaA
    - having autoHideInputMask as false
    - clicking the text field so that input mask is displayed and then clicking outside so that it loses focus

    Here's the offending line: Ext.form.field.Text.onBlur(), line 1162.

    I believe all that needs to be done is change value to me.value.

    I've given a quick search to the forums but had no clear match about this being reported before, and I believe this is pertinent to ExtJS 6.5.0 only (which introduced the Ext.field.InputMask class).
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,255

    Default

    This issue is already resolved in the latest build. Thanks for the post.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha User
    Join Date
    Jan 2016
    Location
    Brazil
    Posts
    138

    Default

    awesome! thanks for the feedback!
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

Similar Threads

  1. [OPEN] Regression Ext JS 6..2.x Classic: character codes in Ext.form.field.Text
    By rmaliborski in forum Ext JS 6.x Bugs
    Replies: 3
    Last Post: 4 Jan 2017, 6:54 AM
  2. Replies: 13
    Last Post: 26 Jun 2012, 11:15 AM
  3. checking username availablity onblur of a text field
    By Abisha in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 3 Apr 2009, 8:55 PM
  4. Sample code for onBlur event on a text field
    By GithaSampath in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 31 Oct 2008, 3:00 PM
  5. Ext.form.Field always validates onBlur, impossible to disable
    By Alan Knowles in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 26 Apr 2007, 10:36 AM

Tags for this Thread

Posting Permissions

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