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" :input-read-only="true"
:open="readOnlyMode ? false : undefined" :open="readOnlyMode ? false : undefined"
> >
<template v-if="readOnlyMode" #suffixIcon></template> <template #suffixIcon></template>
</a-date-picker> </a-date-picker>
</template> </template>

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

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

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

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

Loading…
Cancel
Save