A Picklist provides a user with an select-only component that is functionally similar to an HTML select element. It is accompanied with a listbox of pre-defined options. A picklist has both single and multi-selection patterns.
Step 3:- Create Lightning Web Component : lookupFieldValueLwc.js-meta.xml
` <?xml version="1.0" encoding="UTF-8"?>
56.0truelightning__AppPagelightning__RecordPagelightning__HomePage`
**[→ Get source code live demo link:-](https://www.w3web.net/get-lookup-field-values-in-lwc/)**
In this post we are going to learn about How to split values from multiple picklist to dropdown value in salesforce LWC.
A Picklist provides a user with an select-only component that is functionally similar to an HTML select element. It is accompanied with a listbox of pre-defined options. A picklist has both single and multi-selection patterns.
→ Get source code live demo link:-
Step 1:- Create Lightning Web Component : lookupFieldValueLwc.html
`
`
Step 2:- Create Lightning Web Component : lookupFieldValueLwc.js
` import { LightningElement,track, api } from 'lwc';
export default class LookupFieldValueLwc extends LightningElement { @track accountId ; @track reportsToId;
}`
Step 3:- Create Lightning Web Component : lookupFieldValueLwc.js-meta.xml
` <?xml version="1.0" encoding="UTF-8"?>