@Ivo Zhulev: I am currently using the event textchanged, but that gets triggered every time. I only want to trigger my function in the case where the user enter a invalid key. For example the user will type in 06/8, if enableAbsoluteSelection
is turned on, the cursor will stop at 8 and not let a user continue until a valid key is entered. So if a user continues to type any digit 4-9 it will stay there. I want to listen to that event when the user is not allowed to continue because of the invalid key entry.