Skip to content

Commit

Permalink
don't throw error for the new autofill request
Browse files Browse the repository at this point in the history
  • Loading branch information
nturgut committed Jul 10, 2020
1 parent fd54e75 commit 6f3a9cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/web_ui/lib/src/engine/text_editing/text_editing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,11 @@ class TextEditingChannel {
// Since autofill UI is a part of the browser, web engine does not need to utilize this method.
break;

case 'TextInput.finishAutofillContext':
// TODO: Handle saving autofill information on web.
// https://github.com/flutter/flutter/issues/59378
break;

default:
throw StateError(
'Unsupported method call on the flutter/textinput channel: ${call.method}');
Expand Down

0 comments on commit 6f3a9cf

Please sign in to comment.