0

Wondering if it is possible to move around fields in lightning-input-address, for example moving street to the bottom of the built-in component or even having it removed from the component when coded. So far with messing around with the component, I haven't found a way to remove an input field from the component or move the input fields around. Curious if anyone has figured out a way to do that on their end with moving the fields around, removing one or even if I am able to mark any of the input fields has disabled or read-only. I know you can mark all the fields as disabled or read only, but I am asking about specific fields.

Code added of component:

<template>
    <lightning-input-address
        address-label="Address"
        street-label="Street"
        city-label="City"
        country-label="Country"
        province-label="Province"
        postal-code-label="PostalCode"
        street="121 Spear St."
        city="San Francisco"
        country="US"
        province="CA"
        postal-code="94105"
        required
        field-level-help="Help Text for inputAddress field" show-address-lookup></lightning-input-address>
</template>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.