Skip to content

Commit 445f2e5

Browse files
committed
fix: change email input type to email for better validation
1 parent d9a0921 commit 445f2e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ui/src/amplify/ui.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ export function LoginForm() {
233233
setLoading(false)
234234
}
235235
}}>
236-
<InputRow id="email" type="text" required={true} name="email" autoFocus={true} label={t('Email')}/>
236+
<InputRow id="email" type="email" required={true} name="email" autoFocus={true} label={t('Email')}/>
237237
<InputRow id="password" type="password" required={true} name="password" label={t('Password')}/>
238238

239239
<div className={'w-full'}>

0 commit comments

Comments
 (0)