From f0d3773d9c38c1ced23998a7dc26269754f2e7c3 Mon Sep 17 00:00:00 2001 From: LianJingWei <472222641@qq.com> Date: Wed, 12 Jun 2024 11:42:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=AE=E7=9B=98EnterKeyType=E6=98=A0?= =?UTF-8?q?=E5=B0=84=E8=A1=A5=E5=85=85EnterKeyType.Done?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ets/embedding/engine/systemchannels/TextInputChannel.ets | 2 ++ 1 file changed, 2 insertions(+) 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 fdbbe4745f..9a13564c27 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 -- Gitee