From ccd25bb303820e8673ac42cfd6d992e1a422e0f3 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 20 Jan 2021 10:41:04 +0300 Subject: [PATCH] Add cascadeselect to float label demo --- .../cascadeselect/CascadeSelect.vue | 2 +- src/views/floatlabel/FloatLabelDemo.vue | 205 +++++++++++++++++- 2 files changed, 202 insertions(+), 5 deletions(-) diff --git a/src/components/cascadeselect/CascadeSelect.vue b/src/components/cascadeselect/CascadeSelect.vue index 112a6caa6..706b7d39f 100644 --- a/src/components/cascadeselect/CascadeSelect.vue +++ b/src/components/cascadeselect/CascadeSelect.vue @@ -289,7 +289,7 @@ export default { 'p-disabled': this.disabled, 'p-focus': this.focused, 'p-inputwrapper-filled': this.modelValue, - 'p-inputwrapper-focus': this.focused + 'p-inputwrapper-focus': this.focused || this.overlayVisible } ]; }, diff --git a/src/views/floatlabel/FloatLabelDemo.vue b/src/views/floatlabel/FloatLabelDemo.vue index 8a62295ed..790c88a14 100644 --- a/src/views/floatlabel/FloatLabelDemo.vue +++ b/src/views/floatlabel/FloatLabelDemo.vue @@ -17,6 +17,20 @@ +
+ + + + + +
+
+ + + + + +
@@ -57,6 +71,13 @@
+ +
+ + + +
@@ -70,7 +91,7 @@
-
+