Skip to content

Commit

Permalink
Fixed android keyboard event code is coming as empty for backspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Subhasree committed May 3, 2024
1 parent 3365c74 commit 49b811e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/inputnumber/inputnumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ export class InputNumber implements OnInit, AfterContentInit, OnChanges, Control
event.preventDefault();
}

switch (event.code) {
switch (event.key) {
case 'ArrowUp':
this.spin(event, 1);
event.preventDefault();
Expand Down

0 comments on commit 49b811e

Please sign in to comment.