Merge pull request #7066 from J-Michalek/fix/datepicker
fix(date-picker): inline used together with range and time optionspull/7072/head
commit
81a5df370b
|
@ -2759,7 +2759,7 @@ export default {
|
||||||
|
|
||||||
if (propValue && Array.isArray(propValue)) {
|
if (propValue && Array.isArray(propValue)) {
|
||||||
if (this.isRangeSelection()) {
|
if (this.isRangeSelection()) {
|
||||||
propValue = this.inline ? propValue[0] : propValue[1] || propValue[0];
|
propValue = propValue[1] || propValue[0];
|
||||||
} else if (this.isMultipleSelection()) {
|
} else if (this.isMultipleSelection()) {
|
||||||
propValue = propValue[propValue.length - 1];
|
propValue = propValue[propValue.length - 1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue