Flipping the unofficial Lookup Component
Updated: Jan 29
The Unofficial Lookup component from the unofficial Salesforce site is one of my favorite components. It allows you to add a powerful search component to your screen flow. However, the component is one of the oldest on the site, and some very picky users in my organization kept asking me, "Why are the icons not aligned correctly?" during user acceptance testing. Therefore, I decided it could use a new layer of paint.
What was changed?
Used lightning design system to format the search box
Used lightning design system to format the search results
Used lightning design system to format the selected results
Added the ability to add icons
Go from this
Now it's your turn!
Log into a sandbox or developer org
Install the latest version of the unofficial Lookup component
Open the developer console
Open the files below, and update them with the code below