Skip to content

Commit 65a270a

Browse files
authored
fix: textarea 组件 confirm-type 属性支持 return 值 (#30)
https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html
1 parent 628318f commit 65a270a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/uni-app-types/src/form-components/textarea.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ type _TextareaValue = string;
1717
* Go 前往
1818
*
1919
* Done 完成
20+
*
21+
* Return 换行
2022
*/
21-
type _TextareaConfirmType = "send" | "search" | "next" | "go" | "done";
23+
type _TextareaConfirmType = "send" | "search" | "next" | "go" | "done" | "return";
2224

2325
interface _TextareaOnFocusDetail {
2426
value: _TextareaValue;

0 commit comments

Comments
 (0)