The solution for preventing Google Chrome error messages on input each symbol:
<p>Click the 'Submit' button with empty input field and you will see the custom error message. Then put "-" sign in the same input field.</p>_x000D_
<form method="post" action="#">_x000D_
<label for="text_number_1">Here you will see browser's error validation message on input:</label><br>_x000D_
<input id="test_number_1" type="number" min="0" required="true"_x000D_
oninput="this.setCustomValidity('')"_x000D_
oninvalid="this.setCustomValidity('This is my custom message.')"/>_x000D_
<input type="submit"/>_x000D_
</form>_x000D_
_x000D_
<form method="post" action="#">_x000D_
<p></p>_x000D_
<label for="text_number_1">Here you will see no error messages on input:</label><br>_x000D_
<input id="test_number_2" type="number" min="0" required="true"_x000D_
oninput="(function(e){e.setCustomValidity(''); return !e.validity.valid && e.setCustomValidity(' ')})(this)"_x000D_
oninvalid="this.setCustomValidity('This is my custom message.')"/>_x000D_
<input type="submit"/>_x000D_
</form>
_x000D_