From f3fee06a3ff553ad59f431b15ea3115bafe2041e Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 30 Dec 2024 13:25:39 +0300 Subject: [PATCH] Fixed #6981 --- packages/primevue/src/datepicker/DatePicker.vue | 2 ++ 1 file changed, 2 insertions(+) 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; } }