Skip to content

Commit 1e63b16

Browse files
committed
* form-schema: add autoHeight property to textarea widget for improved dynamic resizing.
1 parent c71a87e commit 1e63b16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/form-builder/dev/form-schema-standard.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ export const schema = {
4444
type: 'string',
4545
widget: 'textarea',
4646
placeholder: '请输入多行文本',
47+
props: {
48+
autoHeight: true,
49+
},
4750
extra: {html: '这是表单项底部的额外内容,支持 <strong>HTML</strong> 语法。'},
4851
},
4952
},

0 commit comments

Comments
 (0)