feature/IO-3494-Change-Preferred-Contact - Implement select box, fix capture bug

This commit is contained in:
Dave
2026-01-07 13:21:31 -05:00
parent a6bd3d1383
commit e26df780bf
7 changed files with 63 additions and 21 deletions

View 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 }
];