You need to sign in to do that
Don't have an account?
Mitchell 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?
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>
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
Mitchell did you found the solution?
I am facing same issue.