+ Start a Discussion
Deepak_KumarDeepak_Kumar 

Problem in using lightning:inputAddress

Hi everyone,
I am having a problem while using the lightning:inputAddress in the Utility bar. Am not able to type in the fields except street one.
it is working fine on the normal page(home page).
Here am also attaching the demo what issue am facing.
https://share.vidyard.com/watch/kbS1gjhWj6QscVGRPy1Znh?
It will be great if anyone can help me out.
Thanks.
 
ajay Duggi(Heptarc)ajay Duggi(Heptarc)

Dear Deepak,

You are not using Id : aura:id="myaddress"

<aura:component>
    <div style="max-width: 400px;">
        <lightning:inputAddress
            aura:id="myaddress"
            addressLabel="Address"
            streetLabel="Street"
            cityLabel="City"
            countryLabel="Country"
            provinceLabel="State"
            postalCodeLabel="PostalCode"
            street="1 Market St."
            city="San Francisco"
            country="US"
            province="CA"
            postalCode="94105"
            required="true"
        />
    </div>
</aura:component>

Let me know if it helps.
Deepak_KumarDeepak_Kumar
Hey Ajay. I'm not using aura"id. 
Saravanan RajarajanSaravanan Rajarajan
Hi Deepak,

Please Replace your code with in <lightning:inputAddress />

You are must include Id:  aura:id="myaddress"  
 
<lightning:inputAddress
            aura:id="myaddress"        
            addressLabel="Address"
            streetLabel="Street"
            cityLabel="City"
            countryLabel="Country"
            provinceLabel="State"
            postalCodeLabel="PostalCode"
            street="1 Market St."
            city="San Francisco"
            country="US"
            province="CA"
            postalCode="94105"
            required="true"
            fieldLevelHelp="Help Text for inputAddress field"
        />

Please mark it best answer if it helps you.
Venkatesh VarmaVenkatesh Varma
Hi Deepak,

Have you found solution for this? Im facing the same issue in the Utility Bar