Forum /
Ext JS Community Forums 4.x /
Ext: Q&A /
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?
Sencha User
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
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;
}
});
Sencha User
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.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us