feature/DF-511: Postcode lookup#216
Conversation
Not sure those line numbers are correct as the don't align with code that has changed in this PR - could you provide links instead and I'll take a look. Thanks. |
Yeah, seems they are from previous code |
|



WIP - Do not review
Proposed change
Add postcode lookup for UK addresses with framework support for components where the input is external to the form journey. Other example use-cases:
Jira ticket: DF-511
Process
formSchemaandstateSchema.yar.flash('externalStateAppendage', data)wheredatais an object containing{ component: 'name-of-component', data: { ... } }.externalStateAppendagein session state The content is validated against the component'sisStatemethod. If successful, it is merged into the main form state.Type of change
Checklist
README.mdanddocs/*(where appropriate, e.g. new features).npm run test).npm run lint).npm run format).