Address Lookup can be attached to any form with pre-existing address inputs.
When initialised it will:
- Identify the primary input to bind the Address Lookup drop down. This defaults to
outputFields.line_1but you can separately specify
inputFieldto indicate where you want the dropdown to bind.
- 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.
Address Lookup will mutate the DOM slightly for accessibility reasons. For more iformation see DOM Changes