function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sia Thripio 4555Sia Thripio 4555 

Features:- "Customer and Location management" Details:- "Getting details of customer and his location, pickup and delivery address" Build using:- "LWC"

  •  
SwethaSwetha (Salesforce Developers) 
HI Sia,

You will need to use lightning-input-address to fetch address. See https://developer.salesforce.com/docs/component-library/bundle/lightning-input-address/example for details and example

You can try it in the playground (https://developer.salesforce.com/docs/component-library/tools/playground/1ceEvuBwO/1/edit).
app.html
<template>
    <div class="app slds-p-around_x-large">        
        <lightning-input-address
            data-name='txtBillingAddress'
            address-label="Billing Address"
            street-label="Street"
            city-label="City"
            country-label="Country"
            province-label="Province"
            postal-code-label="PostalCode"
            required
            field-level-help="Help Text for inputAddress field"
            onchange={genericInputChange}
            ></lightning-input-address>
    </div>
</template>
app.js
import { LightningElement, track } from 'lwc';

export default class App extends LightningElement {
    genericInputChange(event){
        console.log('Street => ' , event.target.street);
        console.log('City => ' , event.target.city);
        console.log('Province => ' , event.target.province);
        console.log('Country => ' , event.target.country);
        console.log('postal Code => ' , event.target.postalCode);
    }
}
Reference : https://salesforce.stackexchange.com/questions/282203/how-to-get-the-value-of-the-address-in-lightning-input-address

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Sia Thripio 4555Sia Thripio 4555
Hii swetha.. Thank you for your response... I need some help regarding this question. Actually I have a Question to do. In the part of that Question I asked a part of line as a question in the developer community. I am trying to do that but I am not understanding what to do next after the creation of a simple Lightning web component as you suggested in your email. So, please help me to do the following Question in the excel sheet.