Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

353 B
Raw Blame
<script lang="ts" setup>
interface Props {
  // when we set a number, then it is number type
  // for sqlite, when we clear a cell or empty the cell, it returns ""
  // otherwise, it is null type
  modelValue?: number | null | string
}

defineProps<Props>()
</script>

<template>
  <div class="nc-cell-field truncate">{{ modelValue }}</div>
</template>