Skip to content

Commit

Permalink
Fixed #1815 - optionDisabled wrongly typed
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Nov 22, 2021
1 parent 6dded3c commit bc702ed
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api-generator/components/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const DropdownProps = [
},
{
name: "optionDisabled",
type: "boolean",
type: "string | function",
default: "null",
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/listbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ListboxProps = [
},
{
name: "optionDisabled",
type: "boolean",
type: "string | function",
default: "null",
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const MultiSelectProps = [
},
{
name: "optionDisabled",
type: "boolean",
type: "string | function",
default: "null",
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ declare class Dropdown extends Vue {
options?: any[];
optionLabel?: string;
optionValue?: any;
optionDisabled?: boolean;
optionDisabled?: string | ((data: any) => boolean) | undefined;
scrollHeight?: string;
filter?: boolean;
filterPlaceholder?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/listbox/Listbox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ declare class Listbox extends Vue {
options?: any[];
optionLabel?: string;
optionValue?: any;
optionDisabled?: boolean;
optionDisabled?: string | ((data: any) => boolean) | undefined;
listStyle?: string;
disabled?: boolean;
dataKey?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/multiselect/MultiSelect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ declare class MultiSelect extends Vue {
options?: any[];
optionLabel?: string;
optionValue?: any;
optionDisabled?: boolean;
optionDisabled?: string | ((data: any) => boolean) | undefined;
scrollHeight?: string;
placeholder?: string;
disabled?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/views/dropdown/DropdownDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ data() {
</tr>
<tr>
<td>optionDisabled</td>
<td>boolean</td>
<td>string | function</td>
<td>null</td>
<td>Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion src/views/listbox/ListboxDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ data() {
</tr>
<tr>
<td>optionDisabled</td>
<td>boolean</td>
<td>string | function</td>
<td>null</td>
<td>Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion src/views/multiselect/MultiSelectDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ data() {
</tr>
<tr>
<td>optionDisabled</td>
<td>boolean</td>
<td>string | function</td>
<td>null</td>
<td>Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.</td>
</tr>
Expand Down

0 comments on commit bc702ed

Please sign in to comment.