mirror of
https://github.com/martindampier/draw-steel-retainer.git
synced 2026-07-22 05:44:15 +00:00
minus
This commit is contained in:
parent
f3e3193ff3
commit
f1a6a04b21
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
export function NumbersOnly(ev:KeyboardEvent) {
|
||||
if(ev.code.contains('Key') || ev.code.contains('Enter') )
|
||||
if(ev.code.contains('Key') || ev.code.contains('Enter') || ev.code.contains('Minus') )
|
||||
{
|
||||
ev.preventDefault();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue