Skip to content

Conversation

@elizabeth-ilina
Copy link
Contributor

@elizabeth-ilina elizabeth-ilina commented Oct 6, 2025

Because

  • The Postal Code field allows a large number of characters.

This pull request

  • Makes Postal Code field limited to a predefined number of characters.

Issue that this pull request solves

Closes: #PAY-3229

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

@elizabeth-ilina elizabeth-ilina marked this pull request as ready for review October 6, 2025 17:00
@elizabeth-ilina elizabeth-ilina requested a review from a team as a code owner October 6, 2025 17:00
}));
}}
onInvalid={(e: React.FormEvent<HTMLInputElement>) => {
if (e.currentTarget.validity.patternMismatch) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that many of these subfields can be undefined. Can you update this with optional chaining? e.g. e?.currentTarget?.{...}

… allows unlimited charaters

Because:

* The Postal Code field allows a large number of characters.

This commit:

* Makes Postal Code field limited to a predefined number of characters.

Closes #PAY-3229
@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3229-postal-code-allows-unlimited-charaters branch from c1c95ad to d26ffb9 Compare October 14, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants