Browse Source

chore/gui-v2-date-cells-removed-calender-icon

pull/2919/head
Muhammed Mustafa 2 years ago
parent
commit
e21045300d
  1. 2
      packages/nc-gui-v2/components/cell/DatePicker.vue
  2. 4
      packages/nc-gui-v2/components/cell/DateTimePicker.vue
  3. 2
      packages/nc-gui-v2/components/cell/YearPicker.vue

2
packages/nc-gui-v2/components/cell/DatePicker.vue

@ -53,7 +53,7 @@ const localState = $computed({
:input-read-only="true"
:open="readOnlyMode ? false : undefined"
>
<template v-if="readOnlyMode" #suffixIcon></template>
<template #suffixIcon></template>
</a-date-picker>
</template>

4
packages/nc-gui-v2/components/cell/DateTimePicker.vue

@ -50,12 +50,12 @@ const localState = $computed({
:bordered="false"
class="!w-full px-1"
format="YYYY-MM-DD HH:mm"
:placeholder="isDateInvalid ? 'Invalid date' : !readOnlyMode ? 'Select date' : ''"
:placeholder="isDateInvalid ? 'Invalid date' : !readOnlyMode ? 'Select date and time' : ''"
:allow-clear="!readOnlyMode"
:input-read-only="true"
:open="readOnlyMode ? false : undefined"
>
<template v-if="readOnlyMode" #suffixIcon></template>
<template #suffixIcon></template>
</a-date-picker>
</template>

2
packages/nc-gui-v2/components/cell/YearPicker.vue

@ -52,7 +52,7 @@ const localState = $computed({
:input-read-only="true"
:open="readOnlyMode ? false : undefined"
>
<template v-if="readOnlyMode" #suffixIcon></template>
<template #suffixIcon></template>
</a-date-picker>
</template>

Loading…
Cancel
Save