fix: email type

This commit is contained in:
EETagent 2022-11-29 11:45:38 +01:00
parent ce922607bd
commit e322d931fd

View file

@ -1,5 +1,5 @@
<script lang="ts">
export let type: 'text' | 'number' | 'tel' | 'e-mail' | 'password' = 'text';
export let type: 'text' | 'number' | 'tel' | 'email' | 'password' = 'text';
const typeAction = (node: HTMLInputElement) => {
node.type = type;
};