Turn off autocorrect/capitalization for login
This commit is contained in:
parent
128a1bf35f
commit
11de9ccfe8
|
@ -86,16 +86,20 @@ class _LoginPageState extends State<LoginPage> {
|
|||
children: [
|
||||
TextFormField(
|
||||
controller: serverController,
|
||||
autocorrect: false,
|
||||
textCapitalization: TextCapitalization.none,
|
||||
decoration: const InputDecoration(
|
||||
labelText: 'Server', hintText: 'https://matrix.org'),
|
||||
),
|
||||
TextFormField(
|
||||
controller: usernameController,
|
||||
autocorrect: false,
|
||||
decoration: const InputDecoration(
|
||||
labelText: 'Username', hintText: 'john'),
|
||||
),
|
||||
TextFormField(
|
||||
controller: passwordController,
|
||||
autocorrect: false,
|
||||
decoration: const InputDecoration(labelText: 'Password'),
|
||||
obscureText: true,
|
||||
onFieldSubmitted: (value) => login(),
|
||||
|
|
Loading…
Reference in New Issue
Block a user