Fixed #871 - Improve float label support in overlay selects
parent
64ca83ffe2
commit
6ac13efddb
|
@ -482,7 +482,7 @@ export default {
|
||||||
'p-dropdown-clearable': this.showClear && !this.disabled,
|
'p-dropdown-clearable': this.showClear && !this.disabled,
|
||||||
'p-focus': this.focused,
|
'p-focus': this.focused,
|
||||||
'p-inputwrapper-filled': this.modelValue,
|
'p-inputwrapper-filled': this.modelValue,
|
||||||
'p-inputwrapper-focus': this.focused
|
'p-inputwrapper-focus': this.focused || this.overlayVisible
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
|
@ -434,7 +434,7 @@ export default {
|
||||||
'p-disabled': this.disabled,
|
'p-disabled': this.disabled,
|
||||||
'p-focus': this.focused,
|
'p-focus': this.focused,
|
||||||
'p-inputwrapper-filled': this.modelValue && this.modelValue.length,
|
'p-inputwrapper-filled': this.modelValue && this.modelValue.length,
|
||||||
'p-inputwrapper-focus': this.focused
|
'p-inputwrapper-focus': this.focused || this.overlayVisible
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue