mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-23 17:52:36 -04:00
Remove autocomplete and autocapitalisation on server url and username fields (#731)
This commit is contained in:
parent
8dcd4df750
commit
cf728739b3
@ -11,7 +11,7 @@
|
||||
"build:mobile:dev": "yarn workspace mobile build:dev",
|
||||
"update": "yarn workspace mobile update",
|
||||
"lint": "biome lint .",
|
||||
"lint:fix": "biome lint . --apply",
|
||||
"lint:fix": "biome lint . --write",
|
||||
"format": "biome format .",
|
||||
"format:fix": "biome format . --write"
|
||||
},
|
||||
|
@ -55,7 +55,12 @@ export const LoginPage: QueryPage<{ apiUrl?: string; error?: string }> = ({
|
||||
<H1>{t("login.login")}</H1>
|
||||
<OidcLogin apiUrl={apiUrl} />
|
||||
<P {...css({ paddingLeft: ts(1) })}>{t("login.username")}</P>
|
||||
<Input autoComplete="username" variant="big" onChangeText={(value) => setUsername(value)} />
|
||||
<Input
|
||||
autoComplete="username"
|
||||
variant="big"
|
||||
onChangeText={(value) => setUsername(value)}
|
||||
autoCapitalize="none"
|
||||
/>
|
||||
<P {...css({ paddingLeft: ts(1) })}>{t("login.password")}</P>
|
||||
<PasswordInput
|
||||
autoComplete="password"
|
||||
|
@ -63,7 +63,7 @@ export const ServerUrlPage: QueryPage = () => {
|
||||
>
|
||||
<H1>{t("login.server")}</H1>
|
||||
<View {...css({ justifyContent: "center" })}>
|
||||
<Input variant="big" onChangeText={setApiUrl} />
|
||||
<Input variant="big" onChangeText={setApiUrl} autoCorrect={false} autoCapitalize="none" />
|
||||
{!data && (
|
||||
<P {...css({ color: (theme: Theme) => theme.colors.red, alignSelf: "center" })}>
|
||||
{error?.errors[0] ?? t("misc.loading")}
|
||||
|
Loading…
x
Reference in New Issue
Block a user