Skip to content

Commit

Permalink
Merge pull request #15443 from Subhasreerajavel/inputnumberbug
Browse files Browse the repository at this point in the history
Fixed android keyboard event code is coming as empty for backspace
  • Loading branch information
cetincakiroglu authored May 3, 2024
2 parents 3365c74 + 49b811e commit 6efc4ed
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 6efc4ed

Please sign in to comment.