You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Location field has a default value at backend so API can send no location but we don't allow it in UI and thus we want to show it as required to user
// Location field has a default value at backend so API can send no location but we don't allow it in UI and thus we want to show it as required to user
@@ -59,13 +60,15 @@ export const FormBuilder = function FormBuilder({
59
60
LockedIcon,
60
61
dataStore,
61
62
shouldConsiderRequired,
63
+
showPhoneAndEmailToggle =false,
62
64
}: {
63
65
formProp: string;
64
66
title: string;
65
67
description: string;
66
68
addFieldLabel: string;
67
69
disabled: boolean;
68
70
LockedIcon: false|JSX.Element;
71
+
showPhoneAndEmailToggle?: boolean;
69
72
/**
70
73
* A readonly dataStore that is used to lookup the options for the fields. It works in conjunction with the field.getOptionAt property which acts as the key in options
71
74
*/
@@ -129,7 +132,68 @@ export const FormBuilder = function FormBuilder({
0 commit comments