fix: make email & phone field as data field while creating new contact

This commit is contained in:
Shariq Ansari 2023-12-13 16:53:03 +05:30
parent 25300bcf54
commit bed9946a22

View File

@ -338,7 +338,7 @@ const sections = computed(() => {
fields: [
{
label: 'Email',
type: 'dropdown',
type: props.contact.name ? 'dropdown' : 'data',
name: 'email_id',
options: props.contact?.email_ids?.map((email) => {
return {
@ -374,7 +374,7 @@ const sections = computed(() => {
fields: [
{
label: 'Mobile No.',
type: 'dropdown',
type: props.contact.name ? 'dropdown' : 'data',
name: 'mobile_no',
options: props.contact?.phone_nos?.map((phone) => {
return {