mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-11-30 06:22:08 +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;
|
rows?: number;
|
||||||
type?: string;
|
type?: string;
|
||||||
size?: FieldSize;
|
size?: FieldSize;
|
||||||
|
autosize?: boolean | { minRows: number; maxRows: number };
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface InputNumberProps {
|
export interface InputNumberProps {
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
|
:autosize="autosize"
|
||||||
@keypress="inputHandler"
|
@keypress="inputHandler"
|
||||||
@change="changeHandler"
|
@change="changeHandler"
|
||||||
@blur="blurHandler"
|
@blur="blurHandler"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user