jhownfs / DependencyPicklist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency Picklist image

This component can be used to do a Dependency Picklist from custom metadata.

πŸ’» How I to use?

Deploy to Salesforce

USE CASE

Sometimes we need to customize standard dependency picklist Salesforce to use custom logic for some reasons, standard picklist values limit, standard dependency limit, or more...So I created this component to solve this problem, using custom LWC and Custom metadata.

You can modify and adjust according to your needs.

HOW THIS COMPONENT WORKS

You can use this component inside any object, but it's important this object has field that contain the same name, to insert values selected.

alt text

Component reads informations about dependency picklist from Custom metadata that has the same name.

alt text

Labels inside component come from Custom Labels Salesforce.

alt text

Next Updates πŸš€

[x] Add prints in readME to explain more about component works

[] Apply Some Design patterns to standardized to back and front (We have code smells here)

[] Dynamic picklist values and dependency (Consider another object structure)

Find some bug or want to help, please open a PR 🚩

License πŸ“

This project is under license. Se the file License for more details.

⬆ Back to top

About


Languages

Language:JavaScript 71.2%Language:HTML 21.2%Language:Apex 6.7%Language:Shell 0.6%Language:CSS 0.3%