trailheadapps / lwc-recipes

A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform

Home Page:https://developer.salesforce.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Record Picker - MultiValue component

SimonKempf opened this issue · comments

Summary

We would like to have a simple implementation of the Record Picker component (lightning-record-picker) where user can select a multiple records and see them displayed in pill-container
Screenshot 2024-01-10 at 14 44 45

Suggested Solution

Record Picker emitting a change event with selected record ID (lightning-record-picker)
The wrapper component calls GraphQL wire to retrieve the selected record details.
Lightning-pill-container is used to display selected records in pills

Alternative Solutions

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Thank you for posting this issue. 🙇🏼‍♂️
We will come back to you shortly.

Thanks Simon and team. Great contribution. I merged the PR.