We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2aaefcf commit 6cfc713Copy full SHA for 6cfc713
Demo/API_V2/Assets/API/InputField/WXInputFieldTmpAdapter.cs
@@ -63,6 +63,7 @@ private void ShowKeyboard()
63
// 调用 WeChat API 显示键盘
64
WX.ShowKeyboard(new ShowKeyboardOption()
65
{
66
+ defaultValue = _inputField.text,//传入当前文本作为默认值
67
maxLength = 20, // 最大输入长度
68
confirmType = "go" // 确认按钮类型
69
});
0 commit comments