I am now trying to create a new input which will reject if the number user type in exceed the limit but it is not working the
let say the max number is 99
Currently my best way is to create something like this
<input
type="text"
:maxlength="2"
aria-controls="none"
class="number-field-input"
inputmode="numeric"
pattern="/d+"
v-model="inputOne"
/>
This will limit the max number to 99 since the max length is 2 but I don't want something like this I want something like this but its not working
<input
type="number"
min="1"
max="99" //may not be 99 but something between 1 and 99
aria-controls="none"
class="number-field-input"
inputmode="numeric"
pattern="/d+"
v-model="inputOne"
/>
150when user type in201I want the number to automatically convert to 150. Right now even user type in 1000 it still passing