solved text input change thanks to Alex stopinmediatepropagation and setting the listener in constructor