Update input.vue

This commit is contained in:
Rijk van Zanten
2021-05-07 13:19:54 -04:00
committed by GitHub
parent b6964fa1a1
commit 65daa69c30

View File

@@ -129,7 +129,7 @@ export default defineComponent({
});
const inputType = computed(() => {
if (props.masked) return 'password';
if (props.masked) return 'new-password';
if (['bigInteger', 'integer', 'float', 'decimal'].includes(props.type)) return 'number';
return 'text';
});