From 731747c00f66ba8a1b53c767a1c7bb0a9171c22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=B0=AC=EB=AF=BC?= Date: Fri, 27 Sep 2024 13:10:09 +0900 Subject: [PATCH] fix(Select): replace logical OR Operator to Nullish Coalescing Operator --- packages/primevue/src/select/Select.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/select/Select.vue b/packages/primevue/src/select/Select.vue index beb309cbd..12ea131db 100755 --- a/packages/primevue/src/select/Select.vue +++ b/packages/primevue/src/select/Select.vue @@ -46,7 +46,7 @@ @keydown="onKeyDown" v-bind="ptm('label')" > - {{ label === 'p-emptylabel' ? ' ' : label || 'empty' }} + {{ label === 'p-emptylabel' ? ' ' : label ?? 'empty' }}