From 271ee4f4e12d661ed5e75b4b90532cf9c031526e Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Sun, 12 Jan 2025 23:25:13 +0000 Subject: [PATCH] Fixed #6783 - DynamicForm: MultiSelect label not shown --- packages/primevue/src/multiselect/style/MultiSelectStyle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/multiselect/style/MultiSelectStyle.js b/packages/primevue/src/multiselect/style/MultiSelectStyle.js index 75643a5cf..c63701eac 100644 --- a/packages/primevue/src/multiselect/style/MultiSelectStyle.js +++ b/packages/primevue/src/multiselect/style/MultiSelectStyle.js @@ -263,7 +263,7 @@ const classes = { 'p-multiselect-label', { 'p-placeholder': instance.label === props.placeholder, - 'p-multiselect-label-empty': !props.placeholder && (!props.modelValue || props.modelValue.length === 0) + 'p-multiselect-label-empty': !props.placeholder && !instance.$filled } ], clearIcon: 'p-multiselect-clear-icon',