Add institution name field to the database (#15862)

GitOrigin-RevId: 5527692bb476a8504e3540e827d62e41d8813d60
This commit is contained in:
Rebeka Dekany 2023-11-24 11:44:03 +01:00 committed by Copybot
parent 9c4cc289d2
commit 441cf1bb5b
3 changed files with 4 additions and 1 deletions

View file

@ -20,6 +20,7 @@ async function upsertOnboardingDataCollection({
companyDivisionDepartment,
companyJobTitle,
governmentJobTitle,
institutionName,
otherJobTitle,
nonprofitDivisionDepartment,
nonprofitJobTitle,
@ -37,6 +38,7 @@ async function upsertOnboardingDataCollection({
companyDivisionDepartment,
companyJobTitle,
governmentJobTitle,
institutionName,
otherJobTitle,
nonprofitDivisionDepartment,
nonprofitJobTitle,

View file

@ -10,6 +10,7 @@ const OnboardingDataCollectionSchema = new Schema(
companyDivisionDepartment: { type: String, default: null },
companyJobTitle: { type: String, default: null },
governmentJobTitle: { type: String, default: null },
institutionName: { type: String, default: null },
otherJobTitle: { type: String, default: null },
nonprofitDivisionDepartment: { type: String, default: null },
nonprofitJobTitle: { type: String, default: null },

View file

@ -7,7 +7,7 @@ type DownshiftInputProps = {
itemsTitle?: string
inputValue: string
label: string
setValue: React.Dispatch<React.SetStateAction<string>>
setValue: (value: string) => void
inputRef?: React.ForwardedRef<HTMLInputElement>
showLabel?: boolean
showSuggestedText?: boolean