Skip to content

Commit

Permalink
Update inputotp.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Nov 21, 2024
1 parent 00ce2e5 commit d82247e
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 @@ -326,7 +326,7 @@ export class InputOtp implements AfterContentInit {

if (paste.length) {
let pastedCode = paste.substring(0, this.length);

if (!this.integerOnly || !isNaN(pastedCode)) {
this.tokens = pastedCode.split('');
this.updateModel(event);
Expand Down

0 comments on commit d82247e

Please sign in to comment.