mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-28 17:19:27 +01:00
Prevent autocorrection on URLs, disable autoCorrect and autoCapitalise and set importantForAutofill.
This commit is contained in:
parent
c1e26d23cf
commit
100be96fca
@ -194,6 +194,8 @@ const ServerView: React.FC<{
|
|||||||
selectionColor={colors.text.secondary}
|
selectionColor={colors.text.secondary}
|
||||||
textContentType="URL"
|
textContentType="URL"
|
||||||
placeholder="http://demo.navidrome.org"
|
placeholder="http://demo.navidrome.org"
|
||||||
|
autoCorrect="false"
|
||||||
|
autoCapitalize="none"
|
||||||
value={address}
|
value={address}
|
||||||
onChangeText={setAddress}
|
onChangeText={setAddress}
|
||||||
onBlur={formatAddress}
|
onBlur={formatAddress}
|
||||||
@ -205,6 +207,8 @@ const ServerView: React.FC<{
|
|||||||
selectionColor={colors.text.secondary}
|
selectionColor={colors.text.secondary}
|
||||||
textContentType="username"
|
textContentType="username"
|
||||||
autoCompleteType="username"
|
autoCompleteType="username"
|
||||||
|
importantForAutofill="yes"
|
||||||
|
autoCapitalize="none"
|
||||||
placeholder="demo"
|
placeholder="demo"
|
||||||
value={username}
|
value={username}
|
||||||
onChangeText={setUsername}
|
onChangeText={setUsername}
|
||||||
@ -216,6 +220,8 @@ const ServerView: React.FC<{
|
|||||||
selectionColor={colors.text.secondary}
|
selectionColor={colors.text.secondary}
|
||||||
textContentType="password"
|
textContentType="password"
|
||||||
autoCompleteType="password"
|
autoCompleteType="password"
|
||||||
|
autoCapitalize="none"
|
||||||
|
importantForAutofill="yes"
|
||||||
secureTextEntry={true}
|
secureTextEntry={true}
|
||||||
placeholder="demo"
|
placeholder="demo"
|
||||||
value={password}
|
value={password}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user