Skip to content

fix(DF-889): enhance postcode validation and add error handling in ma…#329

Merged
mokhld merged 2 commits intomainfrom
fix/df-889-invalid-postcode-fix
Mar 6, 2026
Merged

fix(DF-889): enhance postcode validation and add error handling in ma…#329
mokhld merged 2 commits intomainfrom
fix/df-889-invalid-postcode-fix

Conversation

@mokhld
Copy link
Contributor

@mokhld mokhld commented Mar 5, 2026

…nual address

Proposed change

  • Add postcode format validation to manual address entry in the postcode lookup journey.
  • Invalid postcodes now show “Enter a valid postcode” error instead of being accepted.

Jira ticket: https://eaflood.atlassian.net/browse/DF-889?atlOrigin=eyJpIjoiM2U0OGE5ODgxYzI2NDllN2I5ODRmYTBmOWFlYWM2NWYiLCJwIjoiaiJ9

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Misc. (documentation, build updates, etc)

Checklist

  • You have executed this code locally and it performs as expected.
  • You have added tests to verify your code works.
  • You have added code comments and JSDoc, where appropriate.
  • There is no commented-out code.
  • You have added developer docs in README.md and docs/* (where appropriate, e.g. new features).
  • The tests are passing (npm run test).
  • The linting checks are passing (npm run lint).
  • The code has been formatted (npm run format).

@mokhld mokhld marked this pull request as ready for review March 5, 2026 14:48
@mokhld mokhld enabled auto-merge (squash) March 6, 2026 09:27
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2026

@mokhld mokhld disabled auto-merge March 6, 2026 10:05
@mokhld mokhld merged commit d0f2f5a into main Mar 6, 2026
23 checks passed
@mokhld mokhld deleted the fix/df-889-invalid-postcode-fix branch March 6, 2026 10:16
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