prevent warning on controlled inputs when onInput is set