Skip to content

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

Open
mokhld wants to merge 1 commit intomainfrom
fix/df-889-invalid-postcode-fix
Open

fix(DF-889): enhance postcode validation and add error handling in ma…#329
mokhld wants to merge 1 commit 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).

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 5, 2026

@mokhld mokhld marked this pull request as ready for review March 5, 2026 14:48
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.

1 participant