How can the hint of form validation be removed?

I"m using the angularjs1.3.20 version, and I"ve been learning about form validation recently.
I find that when I click the submit button, a prompt like this appears if the user name is empty.

clipboard.png

:


:
:
: < input type= "password" name= "password2" ng-model= "userData.userPwd2" > < div class= "error" > error < / div > < / div > < button class= "btn" > submit < / button > < / form >
Mar.01,2021

add the novalidate attribute
< form xxx novalidate >
.
< / form >


required remove

from html5
Menu