Merge pull request #7066 from J-Michalek/fix/datepicker

fix(date-picker): inline used together with range and time options
pull/7072/head
Tuğçe Küçükoğlu 2025-01-09 15:13:27 +03:00 committed by GitHub
commit 81a5df370b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}