Browse Source

fix(nc-gui): Invalid prop: type check failed for prop "value". Expected Number with value 0, got String with value "0"

pull/7855/head
Ramesh Mane 9 months ago
parent
commit
747ff66528
  1. 2
      packages/nc-gui/components/cell/Rating.vue

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

@ -37,7 +37,7 @@ const ratingMeta = computed(() => {
}) })
const vModel = computed({ const vModel = computed({
get: () => modelValue ?? NaN, get: () => Number(modelValue),
set: (val) => emits('update:modelValue', val), set: (val) => emits('update:modelValue', val),
}) })

Loading…
Cancel
Save