"Undefined" shows in address input of lwc input-address when show-address-lookup is combined with show-compact-address
Opened this issue · 1 comments
drewcoparker commented
Description
Steps to Reproduce
- Use this simple example copied from the lwc input-address documentation:
<lightning-input-address
show-address-lookup
show-compact-address
address-label="Address"
street-label="Street"
city-label="City"
country-label="Country"
province-label="State"
postal-code-label="PostalCode"
street="1 Market St."
city="San Francisco"
country="US"
province="CA"
postal-code="94105"
field-level-help="Enter your billing address"
>
</lightning-input-address>
- Make sure both show-address-lookup and show-compact-address attributes are used.
- Observe that the rendered output shows "undefined" in the address input.
- Remove show-compact-address attribute and "undefined" is not displayed in the address bar.
wjhsf commented
This is an issue with a Lightning Component, not the LWC framework (this repo). To resolve your issue, I would recommend opening a Salesforce Stack Exchange question or a Salesforce case.