Skip to content

Commit

Permalink
Fixed #6351
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Sep 11, 2024
1 parent 88952ee commit cb3f89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/inputotp/InputOtp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default {
let paste = event.clipboardData.getData('text');
if (paste.length) {
let pastedCode = paste.substring(0, this.length + 1);
let pastedCode = paste.substring(0, this.length);
if (!this.integerOnly || !isNaN(pastedCode)) {
this.tokens = pastedCode.split('');
Expand Down

0 comments on commit cb3f89a

Please sign in to comment.