feature/IO-3494-Change-Preferred-Contact - Implement select box, fix capture bug
This commit is contained in:
13
client/src/utils/phoneTypeOptions.js
Normal file
13
client/src/utils/phoneTypeOptions.js
Normal file
@@ -0,0 +1,13 @@
|
||||
export const OWNER_PHONE_TYPE_VALUES = {
|
||||
HOME: "Home",
|
||||
WORK: "Work",
|
||||
CELL: "Cell",
|
||||
OTHER: "Other"
|
||||
};
|
||||
|
||||
export const buildOwnerPhoneTypeOptions = (t) => [
|
||||
{ label: t("owners.labels.home"), value: OWNER_PHONE_TYPE_VALUES.HOME },
|
||||
{ label: t("owners.labels.work"), value: OWNER_PHONE_TYPE_VALUES.WORK },
|
||||
{ label: t("owners.labels.cell"), value: OWNER_PHONE_TYPE_VALUES.CELL },
|
||||
{ label: t("owners.labels.other"), value: OWNER_PHONE_TYPE_VALUES.OTHER }
|
||||
];
|
||||
Reference in New Issue
Block a user