mirror of
https://github.com/directus/directus.git
synced 2026-01-29 23:47:57 -05:00
Update input.vue
This commit is contained in:
@@ -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';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user