From c7ed98e9ba757ccc208388bc6310b3288e2fb067 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Sat, 30 Jul 2022 16:10:26 +0530 Subject: [PATCH] chore/gui-v2-date-picker-improved-placeholder-text-in-readonly-mode --- packages/nc-gui-v2/components/cell/DatePicker.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/cell/DatePicker.vue b/packages/nc-gui-v2/components/cell/DatePicker.vue index 4f95466be0..fe28acbc81 100644 --- a/packages/nc-gui-v2/components/cell/DatePicker.vue +++ b/packages/nc-gui-v2/components/cell/DatePicker.vue @@ -51,7 +51,7 @@ const localState = $computed({ :bordered="false" class="!w-full px-1" :format="dateFormat" - :placeholder="isDateInvalid ? 'Invalid date' : 'Select date'" + :placeholder="isDateInvalid ? 'Invalid date' : !readOnlyMode ? 'Select date' : ''" :allow-clear="!readOnlyMode" :input-read-only="true" :open="readOnlyMode ? false : undefined"