diff --git a/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/TextInputChannel.ets b/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/TextInputChannel.ets index fdbbe4745f042922db5aa0aea31aaf182cc1d820..9a13564c27da61b0b28c7217c9c7705ef4b384a9 100644 --- a/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/TextInputChannel.ets +++ b/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/TextInputChannel.ets @@ -252,6 +252,8 @@ export class Configuration { return inputMethod.EnterKeyType.NEXT case "TextInputAction.newline": return inputMethod.EnterKeyType.NONE + case "TextInputAction.done": + return inputMethod.EnterKeyType.Done default: // Present default key if bad input type is given. return inputMethod.EnterKeyType.UNSPECIFIED