diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index 551a1ca69..a2a692ec8 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -2759,7 +2759,7 @@ export default { if (propValue && Array.isArray(propValue)) { if (this.isRangeSelection()) { - propValue = this.inline ? propValue[0] : propValue[1] || propValue[0]; + propValue = propValue[1] || propValue[0]; } else if (this.isMultipleSelection()) { propValue = propValue[propValue.length - 1]; }