add watch on text keypress