fix: make email & phone field as data field while creating new contact
This commit is contained in:
parent
25300bcf54
commit
bed9946a22
@ -338,7 +338,7 @@ const sections = computed(() => {
|
|||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
label: 'Email',
|
label: 'Email',
|
||||||
type: 'dropdown',
|
type: props.contact.name ? 'dropdown' : 'data',
|
||||||
name: 'email_id',
|
name: 'email_id',
|
||||||
options: props.contact?.email_ids?.map((email) => {
|
options: props.contact?.email_ids?.map((email) => {
|
||||||
return {
|
return {
|
||||||
@ -374,7 +374,7 @@ const sections = computed(() => {
|
|||||||
fields: [
|
fields: [
|
||||||
{
|
{
|
||||||
label: 'Mobile No.',
|
label: 'Mobile No.',
|
||||||
type: 'dropdown',
|
type: props.contact.name ? 'dropdown' : 'data',
|
||||||
name: 'mobile_no',
|
name: 'mobile_no',
|
||||||
options: props.contact?.phone_nos?.map((phone) => {
|
options: props.contact?.phone_nos?.map((phone) => {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user