diff --git a/api-generator/components/cascadeselect.js b/api-generator/components/cascadeselect.js index 36c65374e..6b8efbb40 100644 --- a/api-generator/components/cascadeselect.js +++ b/api-generator/components/cascadeselect.js @@ -13,25 +13,25 @@ const CascadeSelectProps = [ }, { name: "optionLabel", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the label of an option." }, { name: "optionValue", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined." }, { name: "optionGroupLabel", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the label of an option group." }, { name: "optionGroupChildren", - type: "array", + type: "array | function", default: "null", description: "Property name or getter function to retrieve the items of a group." }, diff --git a/api-generator/components/dropdown.js b/api-generator/components/dropdown.js index 36d4936f8..8bad4e2db 100644 --- a/api-generator/components/dropdown.js +++ b/api-generator/components/dropdown.js @@ -13,13 +13,13 @@ const DropdownProps = [ }, { name: "optionLabel", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the label of an option." }, { name: "optionValue", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined." }, @@ -31,13 +31,13 @@ const DropdownProps = [ }, { name: "optionGroupLabel", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the label of an option group." }, { name: "optionGroupChildren", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function that refers to the children options of option group." }, diff --git a/api-generator/components/listbox.js b/api-generator/components/listbox.js index 37413fe1f..f13c660d6 100644 --- a/api-generator/components/listbox.js +++ b/api-generator/components/listbox.js @@ -13,31 +13,31 @@ const ListboxProps = [ }, { name: "optionLabel", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the label of an option." }, { name: "optionValue", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined." }, { name: "optionDisabled", - type: "boolean", + type: "boolean | function", default: "null", description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined." }, { name: "optionGroupLabel", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the label of an option group." }, { name: "optionGroupChildren", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function that refers to the children options of option group." }, diff --git a/api-generator/components/multiselect.js b/api-generator/components/multiselect.js index efc1919cd..a21205705 100644 --- a/api-generator/components/multiselect.js +++ b/api-generator/components/multiselect.js @@ -19,25 +19,25 @@ const MultiSelectProps = [ }, { name: "optionValue", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined." }, { name: "optionDisabled", - type: "boolean", + type: "boolean | function", default: "null", description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined." }, { name: "optionGroupLabel", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function to use as the label of an option group." }, { name: "optionGroupChildren", - type: "string", + type: "string | function", default: "null", description: "Property name or getter function that refers to the children options of option group." }, diff --git a/src/views/cascadeselect/CascadeSelectDoc.vue b/src/views/cascadeselect/CascadeSelectDoc.vue index 2c0e405a5..87f554508 100644 --- a/src/views/cascadeselect/CascadeSelectDoc.vue +++ b/src/views/cascadeselect/CascadeSelectDoc.vue @@ -156,25 +156,25 @@ data() {