From 6d07500c64c623fb388f1867962a14447963ae6f Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 8 Jan 2024 12:33:05 +0300 Subject: [PATCH] Fixed #4905 - wrong type appendTo props --- components/lib/autocomplete/BaseAutoComplete.vue | 2 +- components/lib/calendar/BaseCalendar.vue | 2 +- components/lib/cascadeselect/BaseCascadeSelect.vue | 2 +- components/lib/colorpicker/BaseColorPicker.vue | 2 +- components/lib/contextmenu/BaseContextMenu.vue | 2 +- components/lib/dialog/BaseDialog.vue | 2 +- components/lib/dropdown/BaseDropdown.vue | 2 +- components/lib/menu/BaseMenu.vue | 2 +- components/lib/multiselect/BaseMultiSelect.vue | 2 +- components/lib/overlaypanel/BaseOverlayPanel.vue | 2 +- components/lib/password/BasePassword.vue | 2 +- components/lib/portal/Portal.vue | 2 +- components/lib/splitbutton/BaseSplitButton.vue | 2 +- components/lib/tieredmenu/BaseTieredMenu.vue | 2 +- components/lib/treeselect/BaseTreeSelect.vue | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/components/lib/autocomplete/BaseAutoComplete.vue b/components/lib/autocomplete/BaseAutoComplete.vue index 8d4c825e35..000ce014db 100644 --- a/components/lib/autocomplete/BaseAutoComplete.vue +++ b/components/lib/autocomplete/BaseAutoComplete.vue @@ -66,7 +66,7 @@ export default { default: 300 }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, forceSelection: { diff --git a/components/lib/calendar/BaseCalendar.vue b/components/lib/calendar/BaseCalendar.vue index 8b75e2d1b0..2d3a58fa81 100644 --- a/components/lib/calendar/BaseCalendar.vue +++ b/components/lib/calendar/BaseCalendar.vue @@ -173,7 +173,7 @@ export default { default: true }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, disabled: { diff --git a/components/lib/cascadeselect/BaseCascadeSelect.vue b/components/lib/cascadeselect/BaseCascadeSelect.vue index a8f1b6e4a5..f569f2f582 100644 --- a/components/lib/cascadeselect/BaseCascadeSelect.vue +++ b/components/lib/cascadeselect/BaseCascadeSelect.vue @@ -45,7 +45,7 @@ export default { default: null }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, loading: { diff --git a/components/lib/colorpicker/BaseColorPicker.vue b/components/lib/colorpicker/BaseColorPicker.vue index 148af6fde0..521d847432 100644 --- a/components/lib/colorpicker/BaseColorPicker.vue +++ b/components/lib/colorpicker/BaseColorPicker.vue @@ -39,7 +39,7 @@ export default { default: 0 }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, panelClass: null diff --git a/components/lib/contextmenu/BaseContextMenu.vue b/components/lib/contextmenu/BaseContextMenu.vue index 850c1b1774..bdb96095c2 100644 --- a/components/lib/contextmenu/BaseContextMenu.vue +++ b/components/lib/contextmenu/BaseContextMenu.vue @@ -11,7 +11,7 @@ export default { default: null }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, autoZIndex: { diff --git a/components/lib/dialog/BaseDialog.vue b/components/lib/dialog/BaseDialog.vue index f4108f47cb..8c0a2dc48a 100644 --- a/components/lib/dialog/BaseDialog.vue +++ b/components/lib/dialog/BaseDialog.vue @@ -95,7 +95,7 @@ export default { default: 0 }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, closeIcon: { diff --git a/components/lib/dropdown/BaseDropdown.vue b/components/lib/dropdown/BaseDropdown.vue index ea1245ba43..755a63ccb4 100644 --- a/components/lib/dropdown/BaseDropdown.vue +++ b/components/lib/dropdown/BaseDropdown.vue @@ -79,7 +79,7 @@ export default { default: null }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, loading: { diff --git a/components/lib/menu/BaseMenu.vue b/components/lib/menu/BaseMenu.vue index 0d1178de3c..3726a5d33f 100644 --- a/components/lib/menu/BaseMenu.vue +++ b/components/lib/menu/BaseMenu.vue @@ -15,7 +15,7 @@ export default { default: null }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, autoZIndex: { diff --git a/components/lib/multiselect/BaseMultiSelect.vue b/components/lib/multiselect/BaseMultiSelect.vue index 030db6b8f6..5a5d1d8201 100644 --- a/components/lib/multiselect/BaseMultiSelect.vue +++ b/components/lib/multiselect/BaseMultiSelect.vue @@ -60,7 +60,7 @@ export default { default: null }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, display: { diff --git a/components/lib/overlaypanel/BaseOverlayPanel.vue b/components/lib/overlaypanel/BaseOverlayPanel.vue index 9f0925da63..199c62f6dc 100644 --- a/components/lib/overlaypanel/BaseOverlayPanel.vue +++ b/components/lib/overlaypanel/BaseOverlayPanel.vue @@ -15,7 +15,7 @@ export default { default: false }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, baseZIndex: { diff --git a/components/lib/password/BasePassword.vue b/components/lib/password/BasePassword.vue index 8edf345c33..99d55066fc 100644 --- a/components/lib/password/BasePassword.vue +++ b/components/lib/password/BasePassword.vue @@ -36,7 +36,7 @@ export default { default: true }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, toggleMask: { diff --git a/components/lib/portal/Portal.vue b/components/lib/portal/Portal.vue index c1af3372e4..e80660f4ca 100644 --- a/components/lib/portal/Portal.vue +++ b/components/lib/portal/Portal.vue @@ -16,7 +16,7 @@ export default { name: 'Portal', props: { appendTo: { - type: String, + type: [String, Object], default: 'body' }, disabled: { diff --git a/components/lib/splitbutton/BaseSplitButton.vue b/components/lib/splitbutton/BaseSplitButton.vue index 8118c64c7a..2715823b81 100644 --- a/components/lib/splitbutton/BaseSplitButton.vue +++ b/components/lib/splitbutton/BaseSplitButton.vue @@ -27,7 +27,7 @@ export default { default: 0 }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, disabled: { diff --git a/components/lib/tieredmenu/BaseTieredMenu.vue b/components/lib/tieredmenu/BaseTieredMenu.vue index b4fb22e21c..cdaf865fea 100644 --- a/components/lib/tieredmenu/BaseTieredMenu.vue +++ b/components/lib/tieredmenu/BaseTieredMenu.vue @@ -15,7 +15,7 @@ export default { default: null }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, autoZIndex: { diff --git a/components/lib/treeselect/BaseTreeSelect.vue b/components/lib/treeselect/BaseTreeSelect.vue index 519a57c726..92b2e3eedc 100644 --- a/components/lib/treeselect/BaseTreeSelect.vue +++ b/components/lib/treeselect/BaseTreeSelect.vue @@ -29,7 +29,7 @@ export default { default: 'single' }, appendTo: { - type: String, + type: [String, Object], default: 'body' }, emptyMessage: {