Browse Source

Merge pull request #4172 from redhoyasa/fix/reactive-date-format

fix(nc-gui): make dateformat in date picker reactive
pull/4175/head
աɨռɢӄաօռɢ 2 years ago committed by GitHub
parent
commit
d43c0571b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/components/cell/DatePicker.vue

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

@ -16,7 +16,7 @@ const readOnly = inject(ReadonlyInj, false)
let isDateInvalid = $ref(false) let isDateInvalid = $ref(false)
const dateFormat = columnMeta?.value?.meta?.date_format ?? 'YYYY-MM-DD' const dateFormat = $computed(() => columnMeta?.value?.meta?.date_format ?? 'YYYY-MM-DD')
const localState = $computed({ const localState = $computed({
get() { get() {

Loading…
Cancel
Save