This fixes an issue where programmatically changing the value of an input element wasn't reflected visually.