PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.8
Booking for Appointments and Events Calendar – Amelia v2.4.8
2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / v3 / src / views / public / StepForm / InfoStep / parts / EmailFormField.vue
ameliabooking / v3 / src / views / public / StepForm / InfoStep / parts Last commit date
EmailFormField.vue 1 month ago FirstNameFormField.vue 1 month ago LastNameFormField.vue 1 month ago PhoneFormField.vue 1 month ago
EmailFormField.vue
59 lines
1 <template>
2 <!-- Email -->
3 <el-form-item
4 v-if="amCustomize.infoStep.options.email.visibility"
5 ref="primeFieldRef"
6 class="am-fs__info-form__item am-info-email"
7 prop="email"
8 label-position="top"
9 >
10 <template #label>
11 <span class="am-fs__info-form__label">
12 {{ amLabels.email_colon }}
13 </span>
14 </template>
15 <AmInput v-model="model" name="email" type="email" :placeholder="amLabels.enter_email" />
16 </el-form-item>
17 <!-- /Email -->
18 </template>
19
20 <script setup>
21 import AmInput from '../../../../_components/input/AmInput.vue'
22
23 import { inject, ref, computed } from 'vue'
24
25 let props = defineProps({
26 modelValue: {
27 type: String,
28 required: true,
29 },
30 })
31
32 let emits = defineEmits(['update:modelValue'])
33
34 let model = computed({
35 get: () => props.modelValue,
36 set: (val) => {
37 emits('update:modelValue', val)
38 },
39 })
40
41 let primeFieldRef = ref(null)
42
43 // * Labels
44 let amLabels = inject('amLabels')
45
46 // * Customize
47 let amCustomize = inject('amCustomize')
48
49 defineExpose({
50 primeFieldRef,
51 })
52 </script>
53
54 <script>
55 export default {
56 name: 'EmailFormField',
57 }
58 </script>
59