mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-11-29 22:12:11 +08:00
feat(design,tdesign-vue,next-adapter): textarea支持autosize
This commit is contained in:
parent
7b19a01849
commit
acda22d5cb
@ -194,6 +194,7 @@ export interface InputProps {
|
||||
rows?: number;
|
||||
type?: string;
|
||||
size?: FieldSize;
|
||||
autosize?: boolean | { minRows: number; maxRows: number };
|
||||
}
|
||||
|
||||
export interface InputNumberProps {
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
:disabled="disabled"
|
||||
:placeholder="placeholder"
|
||||
:rows="rows"
|
||||
:autosize="autosize"
|
||||
@keypress="inputHandler"
|
||||
@change="changeHandler"
|
||||
@blur="blurHandler"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user