mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-26 02:39:57 +08:00
feat(form): form-dialog,form-drawer新增inline,label-position配置
This commit is contained in:
parent
2bd1033665
commit
7bf59929b0
@ -25,6 +25,8 @@
|
|||||||
:init-values="values"
|
:init-values="values"
|
||||||
:parent-values="parentValues"
|
:parent-values="parentValues"
|
||||||
:label-width="labelWidth"
|
:label-width="labelWidth"
|
||||||
|
:label-position="labelPosition"
|
||||||
|
:inline="inline"
|
||||||
@change="changeHandler"
|
@change="changeHandler"
|
||||||
></Form>
|
></Form>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
@ -78,6 +80,8 @@ const props = withDefaults(
|
|||||||
fullscreen?: boolean;
|
fullscreen?: boolean;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
inline?: boolean;
|
||||||
|
labelPosition?: string;
|
||||||
zIndex?: number;
|
zIndex?: number;
|
||||||
size?: 'small' | 'default' | 'large';
|
size?: 'small' | 'default' | 'large';
|
||||||
confirmText?: string;
|
confirmText?: string;
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
:init-values="values"
|
:init-values="values"
|
||||||
:parent-values="parentValues"
|
:parent-values="parentValues"
|
||||||
:label-width="labelWidth"
|
:label-width="labelWidth"
|
||||||
|
:label-position="labelPosition"
|
||||||
|
:inline="inline"
|
||||||
@change="changeHandler"
|
@change="changeHandler"
|
||||||
></Form>
|
></Form>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
@ -71,6 +73,8 @@ withDefaults(
|
|||||||
zIndex?: number;
|
zIndex?: number;
|
||||||
size?: 'small' | 'default' | 'large';
|
size?: 'small' | 'default' | 'large';
|
||||||
confirmText?: string;
|
confirmText?: string;
|
||||||
|
inline?: boolean;
|
||||||
|
labelPosition?: string;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
closeOnPressEscape: true,
|
closeOnPressEscape: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user