Skip to content

Commit

Permalink
don't throw error for the new autofill request (#19633)
Browse files Browse the repository at this point in the history
* don't throw error for the new autofill request

* change comment
  • Loading branch information
nturgut committed Jul 10, 2020
1 parent d98d539 commit dfd0727
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
Expand Up @@ -1152,6 +1152,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(nurhan): 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 dfd0727

Please sign in to comment.