fix: form dialog props

This commit is contained in:
puriphatt 2024-06-18 11:45:28 +00:00
parent 1aac511b0b
commit 583fdad68b

View file

@ -15,8 +15,9 @@ defineProps<{
noFooter?: boolean;
noAppBox?: boolean;
noPaddingTab?: boolean;
maxWidth?: number;
width?: number;
maxWidth?: string;
width?: string;
height?: string;
employee?: boolean;
noAddress?: boolean;
disabledRule?: boolean;
@ -47,7 +48,7 @@ const tabsList = defineModel<{ name: string; label: string }[]>('tabsList');
<q-dialog v-model="modal" @hide="close">
<AppBox
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">
<!-- header -->