Fix Tab
This commit is contained in:
parent
d9755c732c
commit
91cdf15cc1
File diff suppressed because one or more lines are too long
2
exam/dist/index.html
vendored
2
exam/dist/index.html
vendored
@ -5,7 +5,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + React + TS</title>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-Zuvl5YZF.js"></script>
|
||||
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-BObjV29d.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
2
exam/dist/locales/de/translation.json
vendored
2
exam/dist/locales/de/translation.json
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"NotFound_user:login": "Benutzer existiert nicht",
|
||||
"Unauthorized:login": "Ungültige E-Mail oder Passwort",
|
||||
"Unauthorized_login": "Ungültige E-Mail oder Passwort",
|
||||
|
||||
"GuestBook": "Gästebuch",
|
||||
|
||||
|
||||
2
exam/dist/locales/en/translation.json
vendored
2
exam/dist/locales/en/translation.json
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"NotFound_user:login": "User does not exist",
|
||||
"Unauthorized:login": "Invalid email or password",
|
||||
"Unauthorized_login": "Invalid email or password",
|
||||
|
||||
"GuestBook": "GuestBook",
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build --emptyOutDir",
|
||||
"build": "pnpm lint && tsc -b && vite build --emptyOutDir",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"NotFound_user:login": "Benutzer existiert nicht",
|
||||
"Unauthorized:login": "Ungültige E-Mail oder Passwort",
|
||||
"Unauthorized_login": "Ungültige E-Mail oder Passwort",
|
||||
|
||||
"GuestBook": "Gästebuch",
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"NotFound_user:login": "User does not exist",
|
||||
"Unauthorized:login": "Invalid email or password",
|
||||
"Unauthorized_login": "Invalid email or password",
|
||||
|
||||
"GuestBook": "GuestBook",
|
||||
|
||||
|
||||
@ -35,6 +35,11 @@ const Login: FC = () => {
|
||||
e.stopPropagation();
|
||||
form.handleSubmit();
|
||||
}}
|
||||
onKeyDown={(event) => {
|
||||
if (event.key === 'Tab') {
|
||||
event.stopPropagation();
|
||||
}
|
||||
}}
|
||||
noValidate
|
||||
>
|
||||
<Box sx={{ display: 'grid', gap: 1, padding: 1, minWidth: '100px' }}>
|
||||
@ -58,7 +63,7 @@ const Login: FC = () => {
|
||||
onBlur={field.handleBlur}
|
||||
onChange={(e) => field.handleChange(e.target.value)}
|
||||
size="small"
|
||||
label={t('Erail')}
|
||||
label={t('Email')}
|
||||
required
|
||||
error={field.state.meta.isTouched && field.state.meta.errors.length > 0}
|
||||
helperText={field.state.meta.isTouched ? field.state.meta.errors.join(',') : ''}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user