PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.6
Booking for Appointments and Events Calendar – Amelia v2.4.6
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 / FirstNameFormField.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
FirstNameFormField.vue
53 lines
1 <template>
2 <!-- First Name -->
3 <el-form-item
4 ref="primeFieldRef"
5 class="am-fs__info-form__item am-info-first-name"
6 prop="firstName"
7 label-position="top"
8 >
9 <template #label>
10 <span class="am-fs__info-form__label">
11 {{ amLabels.first_name_colon }}
12 </span>
13 </template>
14 <AmInput v-model="model" name="firstName" :placeholder="amLabels.enter_first_name" />
15 </el-form-item>
16 <!-- /First Name -->
17 </template>
18
19 <script setup>
20 import AmInput from '../../../../_components/input/AmInput.vue'
21 import { inject, ref, computed } from 'vue'
22
23 let props = defineProps({
24 modelValue: {
25 type: String,
26 required: true,
27 },
28 })
29
30 let emits = defineEmits(['update:modelValue'])
31
32 let model = computed({
33 get: () => props.modelValue,
34 set: (val) => {
35 emits('update:modelValue', val)
36 },
37 })
38
39 let primeFieldRef = ref(null)
40
41 let amLabels = inject('amLabels')
42
43 defineExpose({
44 primeFieldRef,
45 })
46 </script>
47
48 <script>
49 export default {
50 name: 'FirstNameFormField',
51 }
52 </script>
53