Skip to content

Commit 6cfc713

Browse files
committed
键盘输入框调整
1 parent 2aaefcf commit 6cfc713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Demo/API_V2/Assets/API/InputField/WXInputFieldTmpAdapter.cs

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ private void ShowKeyboard()
6363
// 调用 WeChat API 显示键盘
6464
WX.ShowKeyboard(new ShowKeyboardOption()
6565
{
66+
defaultValue = _inputField.text,//传入当前文本作为默认值
6667
maxLength = 20, // 最大输入长度
6768
confirmType = "go" // 确认按钮类型
6869
});

0 commit comments

Comments
 (0)