1. #1
    Sencha Premium Member
    Join Date
    Sep 2009
    Posts
    11
    Vote Rating
    1
    bruce1058 is on a distinguished road

      0  

    Default Unanswered: validationDelay is OBE

    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
    977
    Vote Rating
    112
    Answers
    1
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      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
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2009
    Posts
    11
    Vote Rating
    1
    bruce1058 is on a distinguished road

      0  

    Default Bingo!

    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
    977
    Vote Rating
    112
    Answers
    1
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      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.
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

Thread Participants: 1

Tags for this Thread