File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 8
8
- Increased height of editor toolbar
9
9
- Changed behaviour of list-button in editor toolbar
10
10
- Fixed image sizing in preview
11
+ - Fixed text field submitting when adding a tag
11
12
12
13
## 1.1.1
13
14
Original file line number Diff line number Diff line change @@ -328,6 +328,9 @@ class _EditPageState extends State<EditPage> {
328
328
content: TextField (
329
329
controller: ctrl,
330
330
autofocus: true ,
331
+ onSubmitted: (str) {
332
+ Navigator .of (context).pop (str);
333
+ },
331
334
),
332
335
actions: < Widget > [
333
336
FlatButton (
Original file line number Diff line number Diff line change @@ -667,6 +667,12 @@ class _NoteListPageState extends State<NoteListPage> {
667
667
title: Text ('Add Tag' ),
668
668
content: TextField (
669
669
controller: ctrl,
670
+ autofocus: true ,
671
+ onSubmitted: (str) {
672
+ Navigator .of (
673
+ context)
674
+ .pop (str);
675
+ },
670
676
),
671
677
actions: < Widget > [
672
678
FlatButton (
You can’t perform that action at this time.
0 commit comments