@@ -177,7 +176,11 @@
v-if="field.type === 'select'"
type="select"
:options="field.options"
- v-model="lead.data[field.name]"
+ :value="lead.data[field.name]"
+ @change.stop="
+ updateLead(field.name, $event.target.value)
+ "
+ :debounce="500"
class="form-control cursor-pointer [&_select]:cursor-pointer"
>
@@ -190,7 +193,11 @@
v-else-if="field.type === 'email'"
type="email"
class="form-control"
- v-model="lead.data[field.name]"
+ :value="lead.data[field.name]"
+ @change.stop="
+ updateLead(field.name, $event.target.value)
+ "
+ :debounce="500"
/>
(lead.data[field.name] = option.email)
+ (option) => updateAssignedAgent(option.email)
"
class="form-control"
- placeholder="Lead owner"
+ :placeholder="field.placeholder"
>