Postcode Lookup can be attached to any form with pre-existing address inputs and an empty container to render the Postcode Lookup UI.
When initialised it will:
- Identify the context container defined by
- Render the Postcode Lookup UI within the context container including:
- Postcode Lookup text field
- Postcode Lookup button
- Container to render address list
- Message container
- Pipe address results to the fields defined in
- Perform a key check to determine whether it is usable. If the check fails, initialisation is aborted. Use the
onCheckFailedcallback to update your page for manual address entry.