TTimeZone / 时区选择器
TimeZone provides a searchable timezone selector with alias support. Uses TCombobox internally with a built-in timezone database. / 时区选择器提供可搜索的时区选择,支持别名,内部使用 TCombobox。
Props / 属性
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | Label text |
description | string | — | Description text |
placeholder | string | — | Placeholder |
disabled | boolean | false | Disabled |
required | boolean | false | Required |
Basic Usage / 基础用法
vue
<script setup lang="ts">
import { TTimeZone } from '@gulcc/tabler-vue'
const tz = ref('Asia/Shanghai')
</script>
<template>
<TTimeZone v-model="tz" label="Timezone / 时区" />
</template>