diff --git a/shared-helpers/package.json b/shared-helpers/package.json index 59e93c018a6..4d93741b858 100644 --- a/shared-helpers/package.json +++ b/shared-helpers/package.json @@ -17,7 +17,7 @@ "prettier": "prettier --write \"**/*.ts\"" }, "dependencies": { - "@bloom-housing/ui-components": "13.0.3", + "@bloom-housing/ui-components": "13.0.6", "@bloom-housing/ui-seeds": "3.3.1", "@heroicons/react": "^2.1.1", "axios-cookiejar-support": "^5.0.5", diff --git a/sites/partners/package.json b/sites/partners/package.json index 7fd32372781..b0bfe4594a0 100644 --- a/sites/partners/package.json +++ b/sites/partners/package.json @@ -30,7 +30,7 @@ }, "dependencies": { "@bloom-housing/shared-helpers": "^7.7.1", - "@bloom-housing/ui-components": "13.0.3", + "@bloom-housing/ui-components": "13.0.6", "@bloom-housing/ui-seeds": "3.3.1", "@heroicons/react": "^2.2.0", "@mapbox/mapbox-sdk": "^0.13.0", diff --git a/sites/public/package.json b/sites/public/package.json index d7d8f966198..2bd4d2bf794 100644 --- a/sites/public/package.json +++ b/sites/public/package.json @@ -30,7 +30,7 @@ }, "dependencies": { "@bloom-housing/shared-helpers": "^7.7.1", - "@bloom-housing/ui-components": "13.0.3", + "@bloom-housing/ui-components": "13.0.6", "@bloom-housing/ui-seeds": "3.3.1", "@heroicons/react": "^2.1.1", "@mapbox/mapbox-sdk": "^0.13.0", diff --git a/sites/public/src/components/applications/ApplicationMultiselectQuestionStep.tsx b/sites/public/src/components/applications/ApplicationMultiselectQuestionStep.tsx index d08def9eb90..5e9c5abce6f 100644 --- a/sites/public/src/components/applications/ApplicationMultiselectQuestionStep.tsx +++ b/sites/public/src/components/applications/ApplicationMultiselectQuestionStep.tsx @@ -24,8 +24,11 @@ import { import FormsLayout from "../../layouts/forms" import { useFormConductor } from "../../lib/hooks" import { UserStatus } from "../../lib/constants" +import ApplicationFormLayout, { + ApplicationAlertBox, + onFormError, +} from "../../layouts/application-form" import { AddressValidationSelection, findValidatedAddress, FoundAddress } from "./ValidateAddress" -import ApplicationFormLayout from "../../layouts/application-form" export interface ApplicationMultiselectQuestionStepProps { applicationSection: MultiselectQuestionsApplicationSectionEnum @@ -168,6 +171,10 @@ const ApplicationMultiselectQuestionStep = ({ conductor.routeToNextOrReturnUrl() } + const onError = () => { + onFormError() + } + const watchQuestions = watch(allOptionNames) if (!clientLoaded || !allOptionNames) { @@ -237,7 +244,7 @@ const ApplicationMultiselectQuestionStep = ({ swapCommunityTypeWithPrograms )} - ${t("listings.apply.applyOnline")} - ${listing?.name}`} > -