Browse Source

fix(nc-gui): apply parseProp

pull/5307/head
Wing-Kam Wong 2 years ago
parent
commit
be17970733
  1. 3
      packages/nc-gui/components/cell/DatePicker.vue

3
packages/nc-gui/components/cell/DatePicker.vue

@ -8,6 +8,7 @@ import {
computed,
inject,
isDrawerOrModalExist,
parseProp,
ref,
useSelectedCellKeyupListener,
watch,
@ -34,7 +35,7 @@ const editable = inject(EditModeInj, ref(false))
let isDateInvalid = $ref(false)
const dateFormat = $computed(() => columnMeta?.value?.meta?.date_format ?? 'YYYY-MM-DD')
const dateFormat = $computed(() => parseProp(columnMeta?.value?.meta)?.date_format ?? 'YYYY-MM-DD')
let localState = $computed({
get() {

Loading…
Cancel
Save