diff --git a/api-generator/components/cascadeselect.js b/api-generator/components/cascadeselect.js index 3cf69159c..47b8284db 100644 --- a/api-generator/components/cascadeselect.js +++ b/api-generator/components/cascadeselect.js @@ -31,7 +31,7 @@ const CascadeSelectProps = [ }, { name: "optionGroupChildren", - type: "string", + type: "array", default: "null", description: "Property name or getter function to retrieve the items of a group." }, diff --git a/src/components/cascadeselect/CascadeSelect.d.ts b/src/components/cascadeselect/CascadeSelect.d.ts index c26ef6da5..a12641fe3 100644 --- a/src/components/cascadeselect/CascadeSelect.d.ts +++ b/src/components/cascadeselect/CascadeSelect.d.ts @@ -6,7 +6,7 @@ interface CascadeSelectProps { optionLabel?: string; optionValue?: any; optionGroupLabel?: string; - optionGroupChildren?: string; + optionGroupChildren?: string[]; placeholder?: string; disabled?: boolean; dataKey?: string; diff --git a/src/components/password/Password.vue b/src/components/password/Password.vue index 5abaa4752..c125f366c 100755 --- a/src/components/password/Password.vue +++ b/src/components/password/Password.vue @@ -66,7 +66,7 @@ export default { type: Boolean, default: false }, - inputClass: toString, + inputClass: String, inputStyle: null, style: null, class: String, diff --git a/src/views/cascadeselect/CascadeSelectDoc.vue b/src/views/cascadeselect/CascadeSelectDoc.vue index 4f939c20b..4a26b234d 100644 --- a/src/views/cascadeselect/CascadeSelectDoc.vue +++ b/src/views/cascadeselect/CascadeSelectDoc.vue @@ -167,7 +167,7 @@ data() { optionGroupChildren - string + array null Property name or getter function to retrieve the items of a group. @@ -609,4 +609,4 @@ img { } } } - \ No newline at end of file +