mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-12-01 23:12:10 +08:00
feat(design, tdesign-vue-next-adapter): formItem新增labelAlign prop
This commit is contained in:
parent
310aa47c1d
commit
0ecc116652
@ -184,6 +184,7 @@ export interface FormItemProps {
|
|||||||
labelWidth?: string | number;
|
labelWidth?: string | number;
|
||||||
rules?: any;
|
rules?: any;
|
||||||
extra?: string;
|
extra?: string;
|
||||||
|
labelPosition?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface InputProps {
|
export interface InputProps {
|
||||||
|
|||||||
@ -349,6 +349,7 @@ const adapter: any = {
|
|||||||
name: props.prop,
|
name: props.prop,
|
||||||
rules: props.rules,
|
rules: props.rules,
|
||||||
help: props.extra,
|
help: props.extra,
|
||||||
|
labelAlign: props.labelPosition,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user