refactor: no footer (from dialog)
This commit is contained in:
parent
f2168a9e59
commit
2c8e42aaa5
1 changed files with 6 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ defineProps<{
|
||||||
branchStatus?: string;
|
branchStatus?: string;
|
||||||
badgeLabel?: string;
|
badgeLabel?: string;
|
||||||
badgeClass?: string;
|
badgeClass?: string;
|
||||||
|
noFooter?: boolean;
|
||||||
submit?: (...args: unknown[]) => void;
|
submit?: (...args: unknown[]) => void;
|
||||||
close?: (...args: unknown[]) => void;
|
close?: (...args: unknown[]) => void;
|
||||||
}>();
|
}>();
|
||||||
|
|
@ -92,7 +93,7 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
|
||||||
>
|
>
|
||||||
<slot name="information"></slot>
|
<slot name="information"></slot>
|
||||||
<slot name="person"></slot>
|
<slot name="person"></slot>
|
||||||
<slot name="address">
|
<slot v-if="!noFooter" name="address">
|
||||||
<FormAddress
|
<FormAddress
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
|
|
@ -125,7 +126,10 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
<div class="form-footer q-py-sm q-pr-lg text-right q-gutter-x-lg">
|
<div
|
||||||
|
v-if="!noFooter"
|
||||||
|
class="form-footer q-py-sm q-pr-lg text-right q-gutter-x-lg"
|
||||||
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
dense
|
dense
|
||||||
outline
|
outline
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue