📅  最后修改于: 2022-03-11 14:59:16.484000             🧑  作者: Mango
This is by design. The minlength attribute only validates a field once
it has been edited by the user. It doesn't validate the field if its
value hasn't been changed, even if that value doesn't meet the
constraint. --By: BoltClock on Github
Add "required" to the input tag to force the user to input something -- By: Me