add autofocus on gram input field
This commit is contained in:
parent
4843215569
commit
66404b3aff
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ class _AddEntryScreen extends State<AddEntryScreen> {
|
|||
],
|
||||
controller: gramsController,
|
||||
onFieldSubmitted: (_) => _addEntry(),
|
||||
autofocus: true,
|
||||
),
|
||||
TextFormField(
|
||||
decoration: const InputDecoration(
|
||||
|
|
Loading…
Reference in a new issue