feat: prevent input of non-numeric values in numer input (#21562)
This commit is contained in:
parent
17722f581b
commit
d2814650e6
3 changed files with 20 additions and 9 deletions
|
|
@ -697,4 +697,15 @@ button:focus-within {
|
|||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
/* Hide arrows from number input */
|
||||
.no-spinner::-webkit-outer-spin-button,
|
||||
.no-spinner::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.no-spinner {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue