refactor: clean & attribute
This commit is contained in:
parent
8cba38f538
commit
879e256a1e
5 changed files with 20 additions and 15 deletions
|
|
@ -117,6 +117,7 @@ defineProps<{
|
|||
<VueDatePicker
|
||||
utc
|
||||
autoApply
|
||||
:teleport="true"
|
||||
v-model="birthDate"
|
||||
:locale="'th'"
|
||||
:enableTimePicker="false"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ defineProps<{
|
|||
readonly?: boolean;
|
||||
addressTitle?: string;
|
||||
addressTitleEN?: string;
|
||||
noAddress?: boolean;
|
||||
}>();
|
||||
|
||||
const address = defineModel('address', { default: '' });
|
||||
|
|
@ -38,7 +39,7 @@ const zipCode = defineModel<string>('zipCode', { default: '' });
|
|||
<div class="row q-col-gutter-y-md">
|
||||
<slot name="information"></slot>
|
||||
<slot name="person"></slot>
|
||||
<slot name="address">
|
||||
<slot name="address" v-if="!noAddress">
|
||||
<FormAddress
|
||||
dense
|
||||
outlined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue