Hi all,
…not able to reproduce in a small snippet, but my below basically rather simple code works weird:
return {view:"text",
name: oConfig.name,
on:{ 'onAfterRender': function(id){
//Somestuff, works OK
}, 'onChange': function(newv, oldv){
//Somestuff, works sometimes
}, 'onBlur':function(newv, oldv){
//Somestuff, works OK
}
}
};
When I now change this text field in a form, I have 2 different behaviors:
-
When changing and direct clicking into the next field, the onChange is actually never triggered, but onBlur is triggered
-
When changing and clicking somewhere in the whitespace outside the form, the onChange is usually triggered (still not always, but most of the times) and also onBlur is triggered.
I have basically the same code for other combo’s and others and there it works well. But also a similar issue with textarea.
Of course I can work around using onBlur and comparing changes to field values, but the actual onChange would be better ?
Anybody any thoughts ? Would be very much appreciated,
thanks a lot,
Frank