prevent warnings from controlled input when onInput is set