spinners | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

spinners

Hello. I am using google chrome. In html / css, exclusively with input type = number, I would like to remove the spinners which are to the right of the input field, and also the restriction to enter more than 9 digits in said field. Or could I use another method giving the same result. thank you in advance.

24th Jul 2021, 7:01 PM
Rigobert EKWA MOUNGUI
Rigobert EKWA MOUNGUI - avatar
3 Answers
0
According to your description it will be good to set type as text and then parse your text for checking as number
24th Jul 2021, 8:44 PM
george
george - avatar
0
For digit restrictions you can use min ="100000000" Lowest nine digit number. Can you add you code snippet here?
25th Jul 2021, 12:59 AM
Divya Mohan
Divya Mohan - avatar
0
<input type="number" required="required" /> <!--I would like the client not to be allowed to put more than 4 digits for exemple only with usage of html-->
26th Jul 2021, 10:40 PM
Rigobert EKWA MOUNGUI
Rigobert EKWA MOUNGUI - avatar