Skip to content

Commit

Permalink
Fixed #6981
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Dec 30, 2024
1 parent aec97b2 commit f3fee06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/primevue/src/datepicker/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,8 @@ export default {
if (lookAhead(match)) {
while (num.length < len) {
num = '0' + num;
this.selectionStart = this.selectionStart + 1;
this.selectionEnd = this.selectionEnd + 1;
}
}
Expand Down

0 comments on commit f3fee06

Please sign in to comment.