Add the oninput property to make display any input change while it takes place.
oninput
Make sure to type oninput.