Skip to content

Commit

Permalink
Merge pull request primefaces#15614 from Subhasreerajavel/bugs/inputOtp
Browse files Browse the repository at this point in the history
Backspace event issue in input otp control for mobile phone is fixed - primefaces#15613
  • Loading branch information
cetincakiroglu authored May 30, 2024
2 parents acf9f8e + 57a00be commit 6a9ddf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/inputotp/inputotp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export class InputOtp implements AfterContentInit {
return;
}

switch (event.code) {
switch (event.key) {
case 'ArrowLeft':
this.moveToPrev(event);
event.preventDefault();
Expand Down

0 comments on commit 6a9ddf6

Please sign in to comment.