+ Start a Discussion
Mitchell McLaughlin 10Mitchell McLaughlin 10 

LWC: Remove Placeholder from Lightning-Input-Address?

I have this Lightning-Input-Address in my LWC:

It appears it has a placeholder of "City" or whatever I set city-label to. Any way to remove this and just have a blank input box?
 
<lightning-input-address
                                            address-label="Address"
                                            street-label="Street"
                                            city-label="City"
                                            country-label="Country"
                                            province-label="State"
                                            postal-code-label="Postal Code"
                                            country={defaultCountry}
                                            province={defaultState}
                                            country-options={countryOptions}
                                            province-options={provinceOptions}
                                            onchange={handleWeekdayAddressChange} 
                                            required>
</lightning-input-address>

 
Devi ChandrikaDevi Chandrika (Salesforce Developers) 
Hi Mitchell,
Please refer below link which might help you in this.

https://salesforce.stackexchange.com/questions/219449/how-do-i-stop-label-duplication-with-lightninginputaddress?rq=1

Hope this helps you
If this helps kindly mark it as solved so that it may help others in future.

Thanks and Regards