PCF-CanadaPost-AddressComplete - Description
A PCF that implements an address suggestion from canada post.
This custom control is basically an address auto complete that fills all the bound address fields.
The addresses are retrieved from canada post api ,therefore you would need an api key by registering to their website.
For some reasons, you cannot bind address composite fields such as address1_country or address1_stateorprovinve from contact and account entity but may be used directly inside address entity or any custom text fields will work.
In the demo above, it has been used on custom text fields.
Simply download the managed solution and import it into your CDS environment.
Customization & setup guide
API Key - api key from your canada post account.
Country code - Default country code to use to retrieve address suggestions as user types
Allow user to change country - type "true" to enable this feature otherwise user cannot change the country.