fix: form dialog props
This commit is contained in:
parent
1aac511b0b
commit
583fdad68b
1 changed files with 4 additions and 3 deletions
|
|
@ -15,8 +15,9 @@ defineProps<{
|
||||||
noFooter?: boolean;
|
noFooter?: boolean;
|
||||||
noAppBox?: boolean;
|
noAppBox?: boolean;
|
||||||
noPaddingTab?: boolean;
|
noPaddingTab?: boolean;
|
||||||
maxWidth?: number;
|
maxWidth?: string;
|
||||||
width?: number;
|
width?: string;
|
||||||
|
height?: string;
|
||||||
employee?: boolean;
|
employee?: boolean;
|
||||||
noAddress?: boolean;
|
noAddress?: boolean;
|
||||||
disabledRule?: boolean;
|
disabledRule?: boolean;
|
||||||
|
|
@ -47,7 +48,7 @@ const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
|
||||||
<q-dialog v-model="modal" @hide="close">
|
<q-dialog v-model="modal" @hide="close">
|
||||||
<AppBox
|
<AppBox
|
||||||
style="padding: 0; border-radius: var(--radius-2); max-height: 100%"
|
style="padding: 0; border-radius: var(--radius-2); max-height: 100%"
|
||||||
:style="`max-width:${maxWidth ? maxWidth : '85%'}; width: ${width ? width : '85%'}`"
|
:style="`max-width:${maxWidth ? maxWidth : '85%'}; width: ${width ? width : '85%'} `"
|
||||||
>
|
>
|
||||||
<q-form greedy @submit.prevent @validation-success="submit">
|
<q-form greedy @submit.prevent @validation-success="submit">
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue