extjs - How to put validation on text field not allow characters while paste in ext js -
how put validation on text field not allow characters while paste in ext js?
i using maskre: /[0-9]/.
using while entering value digits allowed.
while paste allows character.
maybe check input value on "blur" event :
mytextfield.on('blur', function (component) { if (!component.isvalid()) { // need do, maybe clear textfield ? } })
Comments
Post a Comment