Skip to content

Commit 20f1c45

Browse files
committed
fix(TaxForms/W8BenE): add conditional logic for claims explanation field
1 parent 5627a57 commit 20f1c45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/lib/tax-forms/w8-ben-e.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export const W8BenEFieldsDefinition: Partial<Record<keyof W8BenETaxFormValues, P
8282
},
8383
claimsExplanation: {
8484
type: 'split-text',
85+
if: (value, values) => values.claimsSpecialRatesAndConditions,
8586
fields: [
8687
{ formPath: 'topmostSubform[0].Page2[0].f2_14[0]', maxLength: 18 },
8788
{ formPath: 'topmostSubform[0].Page2[0].f2_15[0]', maxLength: 120 },

0 commit comments

Comments
 (0)