You should also check that the input element's `value` has indeed changed properly by checking that element directly.