added call to the onChange callback for input
added word wrap, input cursor and update label