mirror of
https://github.com/directus/directus.git
synced 2026-01-30 10:27:58 -05:00
Update input.vue
This commit is contained in:
@@ -129,7 +129,7 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const inputType = computed(() => {
|
const inputType = computed(() => {
|
||||||
if (props.masked) return 'password';
|
if (props.masked) return 'new-password';
|
||||||
if (['bigInteger', 'integer', 'float', 'decimal'].includes(props.type)) return 'number';
|
if (['bigInteger', 'integer', 'float', 'decimal'].includes(props.type)) return 'number';
|
||||||
return 'text';
|
return 'text';
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user