Disable input if there's any error message