diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index 198c4c0fa..92d3288d5 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -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; } }