I'm trying to implement a standard lwc input address in a custom LWC component. https://developer.salesforce.com/docs/component-library/bundle/lightning-input-address/example.
When I search an Italian address, the province field is not populated when I select an address result. as you can see in the screen below.
In the picklist of results search I can see the province code (for example: Roma --> RM). (green box)
Do you have suggestions to work around the problem?
my code:
<lightning-input-address address-label="Shipping Address"
street-label="Street"
city-label="City"
country-label="Country"
province-label="Province"
postal-code-label="PostalCode"
street=""
city=""
country=""
province=""
postal-code=""
required
onchange={addressInputChange}
field-level-help="Select Shipping Address"
show-address-lookup>
</lightning-input-address>
addressInputChange(event){
const address = this.template.querySelector('lightning-input-address');
console.log('Street is ' , event.target.street);
console.log('City is ' , event.target.city);
console.log('Province is ' , event.target.province);
console.log('Country is ' , event.target.country);
console.log('postal Code is ' , event.target.postalCode);
}