Browse Source

feat(gui-v2): include CellInteger & CellFloat

pull/2928/head
Wing-Kam Wong 2 years ago
parent
commit
0eef006289
  1. 18
      packages/nc-gui-v2/components/smartsheet/Cell.vue

18
packages/nc-gui-v2/components/smartsheet/Cell.vue

@ -42,6 +42,8 @@ const {
isAttachment,
isTextArea,
isString,
isInt,
isFloat,
isSingleSelect,
isMultiSelect,
} = useColumn(column)
@ -78,20 +80,6 @@ todo :
<!-- v-on="parentListeners" -->
<!-- />&ndash;&gt; -->
<!-- <IntegerCell -->
<!-- v-else-if="isInt" -->
<!-- /> -->
<!-- &lt;!&ndash; v-model="localState" -->
<!-- v-on="parentListeners" -->
<!-- />&ndash;&gt; -->
<!-- <FloatCell -->
<!-- v-else-if="isFloat" -->
<!-- /> -->
<!-- &lt;!&ndash; v-model="localState" -->
<!-- v-on="parentListeners" -->
<!-- />&ndash;&gt; -->
<!-- <DatePickerCell -->
<!-- v-else-if="isDate" -->
<!-- /> -->
@ -199,6 +187,8 @@ todo :
/>
-->
<CellCurrency v-else-if="isCurrency" v-model="localState" />
<CellInteger v-else-if="isInt" v-model="localState" />
<CellFloat v-else-if="isFloat" v-model="localState" />
<CellText v-else-if="isString" v-model="localState" />
<!-- v-on="parentListeners"
/>

Loading…
Cancel
Save