Allow autofill and use 'input' event to detect changes. Closes #3503