feat: 扩展 FaInput 组件的 type 属性

This commit is contained in:
Hooray
2026-05-06 17:41:00 +08:00
parent fc2c89fa2d
commit 70b29edb6e
+1 -1
View File
@@ -10,7 +10,7 @@ defineOptions({
})
const props = withDefaults(defineProps<{
type?: 'text' | 'password'
type?: 'text' | 'password' | 'number' | 'email' | 'search' | 'tel' | 'url' | (string & NonNullable<unknown>)
align?: 'inline' | 'block'
disabled?: boolean
clearable?: boolean