diff --git a/apps/showcase/doc/cascadeselect/BasicDoc.vue b/apps/showcase/doc/cascadeselect/BasicDoc.vue
index 560077bb2..5c42dd695 100644
--- a/apps/showcase/doc/cascadeselect/BasicDoc.vue
+++ b/apps/showcase/doc/cascadeselect/BasicDoc.vue
@@ -6,7 +6,7 @@
-
+
@@ -93,13 +93,13 @@ export default {
code: {
basic: `
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
`,
options: `
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
@@ -191,7 +191,7 @@ export default {
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
diff --git a/apps/showcase/doc/cascadeselect/DisabledDoc.vue b/apps/showcase/doc/cascadeselect/DisabledDoc.vue
index ba04f5d2d..c78733a85 100644
--- a/apps/showcase/doc/cascadeselect/DisabledDoc.vue
+++ b/apps/showcase/doc/cascadeselect/DisabledDoc.vue
@@ -3,7 +3,7 @@
When disabled is present, the element cannot be edited and focused.
-
+
@@ -14,12 +14,12 @@ export default {
return {
code: {
basic: `
-
+
`,
options: `
-
+
@@ -30,7 +30,7 @@ export default {
composition: `
-
+
diff --git a/apps/showcase/doc/cascadeselect/FilledDoc.vue b/apps/showcase/doc/cascadeselect/FilledDoc.vue
index 609237fae..c430c8897 100644
--- a/apps/showcase/doc/cascadeselect/FilledDoc.vue
+++ b/apps/showcase/doc/cascadeselect/FilledDoc.vue
@@ -3,7 +3,7 @@
Specify the variant property as filled to display the component with a higher visual emphasis than the default outlined style.
-
+
@@ -90,13 +90,13 @@ export default {
code: {
basic: `
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
`,
options: `
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
@@ -188,7 +188,7 @@ export default {
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
diff --git a/apps/showcase/doc/cascadeselect/FloatLabelDoc.vue b/apps/showcase/doc/cascadeselect/FloatLabelDoc.vue
index 22f6377b3..54736da91 100644
--- a/apps/showcase/doc/cascadeselect/FloatLabelDoc.vue
+++ b/apps/showcase/doc/cascadeselect/FloatLabelDoc.vue
@@ -3,8 +3,8 @@
A floating label appears on top of the input field when focused. Visit FloatLabel documentation for more information.
-
-
+
+
City
@@ -92,18 +92,18 @@ export default {
],
code: {
basic: `
-
+
+ :optionGroupChildren="['states', 'cities']" fluid placeholder="Select a City" />
City
`,
options: `
-
+
+ :optionGroupChildren="['states', 'cities']" fluid placeholder="Select a City" />
City
@@ -196,9 +196,9 @@ export default {
composition: `
-
+
+ :optionGroupChildren="['states', 'cities']" fluid placeholder="Select a City" />
City
diff --git a/apps/showcase/doc/cascadeselect/InvalidDoc.vue b/apps/showcase/doc/cascadeselect/InvalidDoc.vue
index 0830c5caf..9ba5f28ea 100644
--- a/apps/showcase/doc/cascadeselect/InvalidDoc.vue
+++ b/apps/showcase/doc/cascadeselect/InvalidDoc.vue
@@ -3,7 +3,7 @@
Invalid state is displayed using the invalid prop to indicate a failed validation. You can use this style when integrating with form validation libraries.
-
+
@@ -90,13 +90,13 @@ export default {
code: {
basic: `
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
`,
options: `
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
@@ -188,7 +188,7 @@ export default {
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City" />
diff --git a/apps/showcase/doc/cascadeselect/LoadingStateDoc.vue b/apps/showcase/doc/cascadeselect/LoadingStateDoc.vue
index 132e28624..d59293e6c 100644
--- a/apps/showcase/doc/cascadeselect/LoadingStateDoc.vue
+++ b/apps/showcase/doc/cascadeselect/LoadingStateDoc.vue
@@ -3,7 +3,7 @@
Loading state can be used loading property.
-
+
@@ -14,12 +14,12 @@ export default {
return {
code: {
basic: `
-
+
`,
options: `
-
+
@@ -30,7 +30,7 @@ export default {
composition: `
-
+
diff --git a/apps/showcase/doc/cascadeselect/TemplateDoc.vue b/apps/showcase/doc/cascadeselect/TemplateDoc.vue
index 406c40e8d..ab369ab83 100644
--- a/apps/showcase/doc/cascadeselect/TemplateDoc.vue
+++ b/apps/showcase/doc/cascadeselect/TemplateDoc.vue
@@ -1,12 +1,12 @@
- CascadeSelect is used as a controlled component with v-model property along with an options collection. To define the label of a group optionGroupLabel property is needed and also optionGroupChildren is
- required to define the property that refers to the children of a group. Note that order of the optionGroupChildren matters as it should correspond to the data hierarchy.
+ Label of an option is used as the display text of an item by default, for custom content support define an option template that gets the option instance as a parameter. In addition value , dropdownicon ,
+ loadingicon , and optiongroupicon slots are provided for further customization.
-
+
@@ -15,6 +15,9 @@
{{ slotProps.option.cname || slotProps.option.name }}
+
+
+
@@ -102,7 +105,7 @@ export default {
code: {
basic: `
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City">
@@ -111,13 +114,16 @@ export default {
{{ slotProps.option.cname || slotProps.option.name }}
+
+
+
`,
options: `
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City">
@@ -126,6 +132,9 @@ export default {
{{ slotProps.option.cname || slotProps.option.name }}
+
+
+
@@ -218,7 +227,7 @@ export default {
+ :optionGroupChildren="['states', 'cities']" class="w-full sm:w-56" placeholder="Select a City">
@@ -227,6 +236,9 @@ export default {
{{ slotProps.option.cname || slotProps.option.name }}
+
+
+