Browse Source

chore/gui-v2-date-picker-improved-placeholder-text-in-readonly-mode

pull/2883/head
Muhammed Mustafa 2 years ago
parent
commit
c7ed98e9ba
  1. 2
      packages/nc-gui-v2/components/cell/DatePicker.vue

2
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"

Loading…
Cancel
Save