The value of the input input box

  1. the number of digits in the input box is controlled. When this value echoes the maximum number of digits, the input can only be deleted and the input cannot be overridden directly.
who knows what attributes the input has to control this
Feb.27,2021

doesn't understand your needs. All properties of
input are in here .


input maxlength length limits the maximum input length, like this

        <input type="text" maxlength="3" />

is mostly controlled by JS. After checking that the number of input digits reaches the specified number of digits, all inputs are ignored directly, regardless of whether it is selected or not (this state is overridden). In fact, just use JS to control the input characters. You can use maxLength to control the number of digits


Edit Vue Template . Is the event

registered in your own code?
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bcdfb2-30bda.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bcdfb2-30bda.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?