Results 1 to 4 of 4

Thread: validationDelay is OBE

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2009
    Posts
    11
    Vote Rating
    1
      0  

    Default Unanswered: validationDelay is OBE

    The config item validationDelay is not carried forward from 3.x to 4.x for form Text fields. Is there a replacement config item or is validationDelay implemented in a new way? If so what is it?

  2. #2
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,017
    Answers
    1
    Vote Rating
    125
      0  

    Default

    Hi @bruce1058,

    The checkChangeBuffer option appears what you need.
    http://docs.sencha.com/ext-js/4-1/#!...ckChangeBuffer

    You can be also interested in the checkChangeEvents option.
    http://docs.sencha.com/ext-js/4-1/#!...ckChangeEvents
    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
    --------------------------------------------------

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2009
    Posts
    11
    Vote Rating
    1
      0  

    Default Bingo!

    Thanks Daniil, That works great

    We were using a DelayedTask on the TextField validator as a solution.

    var filter_tf = Ext.create('Ext.form.TextField',{
    ...
    validationTask: new Ext.util.DelayedTask(function(txt){
    ...
    }),
    validator: function(text){
    this.validationTask.delay(500, null, null, [text]);
    return true;
    }
    });

  4. #4
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,017
    Answers
    1
    Vote Rating
    125
      0  

    Default

    Glad to help.

    By the way, there is a special [CODE] tag (# option in the editor's toolbar). It formats code, so, it looks good.
    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
    --------------------------------------------------

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
  •