Skip to content

TDate / 日期选择器

Date picker for selecting a single date with a popup calendar. Supports min/max, disabled dates, clearable, and week select mode. / 日期选择器通过弹出日历选择单个日期,支持最大/最小日期、禁用日期、可清除和周选择模式。

Props / 属性

PropTypeDefaultDescription
placeholderstring'选择日期'Placeholder
disabledbooleanfalseDisabled
clearablebooleanfalseShow clear button
min / maxstringDate range (YYYY-MM-DD)
weekSelectbooleanfalseWeek select mode

Basic Usage / 基础用法

vue
<script setup lang="ts">
import { TDate } from '@gulcc/tabler-vue'
const date = ref('2026-06-25')
</script>
<template>
  <TDate v-model="date" />
</template>