Skip to content

Commit 70b29ed

Browse files
committed
feat: 扩展 FaInput 组件的 type 属性
1 parent fc2c89f commit 70b29ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/components/src/input/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defineOptions({
1010
})
1111
1212
const props = withDefaults(defineProps<{
13-
type?: 'text' | 'password'
13+
type?: 'text' | 'password' | 'number' | 'email' | 'search' | 'tel' | 'url' | (string & NonNullable<unknown>)
1414
align?: 'inline' | 'block'
1515
disabled?: boolean
1616
clearable?: boolean

0 commit comments

Comments
 (0)