Skip to content

Commit 2321bb9

Browse files
committed
working react-hook-form monitoring checkbox statuses
1 parent fed4e21 commit 2321bb9

File tree

4 files changed

+209
-115
lines changed

4 files changed

+209
-115
lines changed

src/pages/Filing/FilingApp/FilingSteps.helpers.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,5 @@ export const determineCanSubmit = ({
151151
}: CombinedDataType): boolean => {
152152
if (!filing && !submission) return false;
153153
const { nextStepIndex } = getFilingSteps(submission, filing);
154-
console.log('nextStepIndex:', nextStepIndex);
155154
return nextStepIndex === FILING_PAGE_ORDER.indexOf('submit');
156155
};

src/pages/Filing/FilingApp/FilingSubmit.helpers.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ export function VoluntaryReportingStatus({
156156

157157
export function SignCertify({
158158
name,
159-
onChange,
160-
value,
159+
// onChange,
160+
// value,
161161
}: {
162162
name: string;
163163
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
@@ -190,8 +190,8 @@ export function SignCertify({
190190
<Checkbox
191191
id='sign-and-certify'
192192
label={`I, ${name}, am an authorized representative of my financial institution with knowledge of the data and certify the accuracy and completeness of the data reported.`}
193-
checked={value}
194-
onChange={onChange}
193+
// checked={value}
194+
// onChange={onChange}
195195
// disabled
196196
/>
197197
</WellContainer>

0 commit comments

Comments
 (0)