Reset the cursor position after changing the value of the text input
simplify change handler
Merge pull request #5088 from dimagi/cursor-jump-fix

Fix cursor jump in form case management