You need to sign in to do that
Don't have an account?
Dwayne Jackson
Dynamic rendering of multiple custom LWCs on a single lightning page?
Hello,
Reaching out to ask if there are suggestions/guidance on how to approach implementing a lightning app page with custom LWCs (using LDS) and conditional rendering based on the below structure? The child LWCs displayed will be dependent on the selections made in a multi-select picklist in LWC A. The goal of this is render the essential fields based on the options selected as there are over 300+ fields. Need to CRU all from one action on the page. Any guidance is much appreciated. Thanks in advance.
LWC A -> parent object A
Reaching out to ask if there are suggestions/guidance on how to approach implementing a lightning app page with custom LWCs (using LDS) and conditional rendering based on the below structure? The child LWCs displayed will be dependent on the selections made in a multi-select picklist in LWC A. The goal of this is render the essential fields based on the options selected as there are over 300+ fields. Need to CRU all from one action on the page. Any guidance is much appreciated. Thanks in advance.
LWC A -> parent object A
- LWC 1 -> child object 1
- LWC 2 -> child object 2
- LWC 3 -> child object 3
- LWC 4 -> child object 4
- LWC n -> child object n
Hi Dwayne,
Here you can use the IF condition before rendering child component in parent component. here in IF condition you will check, is name of upcoming child component available in selected list or not.
Please refer below pseudo code :-
If the above information helps you, please mark it as the best answer.
Regards,
Priya Ranjan
All Answers
Hi Dwayne,
Here you can use the IF condition before rendering child component in parent component. here in IF condition you will check, is name of upcoming child component available in selected list or not.
Please refer below pseudo code :-
If the above information helps you, please mark it as the best answer.
Regards,
Priya Ranjan