@@ -72,7 +207,7 @@ export function VerificationStep() {
value={code}
onChange={handleCodeChange}
onComplete={handleComplete}
- disabled={loading}
+ disabled={loading || isExpired}
error={localError ?? undefined}
autoFocus
/>
@@ -83,11 +218,13 @@ export function VerificationStep() {
)}
+
+
-
+ />
-
-
- The code expires in 10 minutes. Check your spam folder if you don't see it.
-
);
}
diff --git a/apps/portal/src/features/get-started/components/GetStartedForm/steps/complete-account/AddressFields.tsx b/apps/portal/src/features/get-started/components/GetStartedForm/steps/complete-account/AddressFields.tsx
index 34a14601..aa3349b1 100644
--- a/apps/portal/src/features/get-started/components/GetStartedForm/steps/complete-account/AddressFields.tsx
+++ b/apps/portal/src/features/get-started/components/GetStartedForm/steps/complete-account/AddressFields.tsx
@@ -4,11 +4,14 @@ import { Label } from "@/components/atoms";
import {
JapanAddressForm,
type JapanAddressFormData,
+ type JapanAddressFormProps,
} from "@/features/address/components/JapanAddressForm";
import type { AccountFormErrors } from "./types";
interface AddressFieldsProps {
onAddressChange: (data: JapanAddressFormData, isComplete: boolean) => void;
+ initialValues?: JapanAddressFormProps["initialValues"];
+ description?: string;
errors: AccountFormErrors;
loading: boolean;
}
@@ -18,17 +21,26 @@ interface AddressFieldsProps {
*
* Used when an SF-unmapped user has incomplete prefilled address data
* and needs to provide a full address before account creation.
+ * Accepts initialValues to pre-populate from Salesforce (e.g., postcode).
*/
-export function AddressFields({ onAddressChange, errors, loading }: AddressFieldsProps) {
+export function AddressFields({
+ onAddressChange,
+ initialValues,
+ description = "Please provide your full address.",
+ errors,
+ loading,
+}: AddressFieldsProps) {
return (