Skip to content

Commit 8652e25

Browse files
authored
Merge pull request #483 from saasquatch/fix-tax-payer-id
use correct name for taxPayerId
2 parents 42011d3 + 9b39114 commit 8652e25

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

packages/mint-components/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.1.3] - 2026-03-16
11+
12+
### Fixed
13+
14+
- Now using correct property name for "beneficiaryTaxPayerId" on tax form
15+
1016
## [2.1.2] - 2026-03-09
1117

1218
### Fixed
@@ -1470,7 +1476,8 @@ This major release represents a significant advancement in the theming capabilit
14701476
- \<sqm-popup-container>
14711477
- \<sqm-stencilbook>
14721478

1473-
[unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@2.1.2...HEAD
1479+
[unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@2.1.3...HEAD
1480+
[2.1.3]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%402.1.3
14741481
[2.1.2]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%402.1.2
14751482
[2.1.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%402.1.1
14761483
[2.1.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%402.1.0

packages/mint-components/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/mint-components/src/components/tax-and-cash/sqm-banking-info-form/formDefinitions.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,13 @@ export function getFormMap({
214214
}
215215
)}
216216
type="text"
217-
name="/taxPayerId"
218-
id="taxPayerId"
219-
key="taxPayerId"
220-
{...(errors?.inputErrors?.taxPayerId && {
217+
name="/beneficiaryTaxPayerId"
218+
id="beneficiaryTaxPayerId"
219+
key="beneficiaryTaxPayerId"
220+
{...(errors?.inputErrors?.beneficiaryTaxPayerId && {
221221
class: "error-input",
222222
helpText: getValidationErrorMessage({
223-
type: errors?.inputErrors?.taxPayerId?.type,
223+
type: errors?.inputErrors?.beneficiaryTaxPayerId?.type,
224224
label: props.text.taxPayerIdLabel,
225225
}),
226226
})}

0 commit comments

Comments
 (0)