refactor: add input contactName

This commit is contained in:
Net 2024-08-21 17:15:03 +07:00
parent 6995b49a5a
commit d365538605

View file

@ -3,12 +3,26 @@ defineProps<{
readonly?: boolean;
prefixId?: string;
}>();
const contactName = defineModel<string>('contactName');
const mail = defineModel<string>('email');
const telephone = defineModel<string>('telephone');
</script>
<template>
<div class="col-md-9 col-12 row q-col-gutter-md">
<q-input
lazy-rules="ondemand"
:for="`${prefixId}-input-contact-name`"
:id="`${prefixId}-input-contact-name`"
dense
outlined
:readonly="readonly"
hide-bottom-space
class="col-md-6 col-12"
:label="$t('customer.table.contactName')"
v-model="contactName"
/>
<q-input
lazy-rules="ondemand"
:for="`${prefixId}-input-mail`"