The front end If type=number is specified in the input box, maxLength is invalid January 18, 2024 by Sean Smith No Comments Invalid maxLength limit for input field when type=number is specified < input type = "number" the oninput = "if (value) length > 5) value = value. The slice (0, 5)" >Copy the code Can be qualified