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;
|
||||
badgeLabel?: string;
|
||||
badgeClass?: string;
|
||||
noFooter?: boolean;
|
||||
submit?: (...args: unknown[]) => void;
|
||||
close?: (...args: unknown[]) => void;
|
||||
}>();
|
||||
|
|
@ -92,7 +93,7 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
|
|||
>
|
||||
<slot name="information"></slot>
|
||||
<slot name="person"></slot>
|
||||
<slot name="address">
|
||||
<slot v-if="!noFooter" name="address">
|
||||
<FormAddress
|
||||
dense
|
||||
outlined
|
||||
|
|
@ -125,7 +126,10 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
|
|||
</div>
|
||||
|
||||
<!-- 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
|
||||
dense
|
||||
outline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue