You need to sign in to do that
Don't have an account?

Populate lightning-record-edit-form with field set
Hello All,
I have an LWC where I need to create a new record and I need to use a field set.
I have a combo box that when selected I want to query a CMT which has the field set. The combo box allows the user to select an object
How can I populate the html based on the combo box selection.
Or can I just load them on load?
Just nee dto know how to show fields base don field set.
Thank you,
Michael
I have an LWC where I need to create a new record and I need to use a field set.
I have a combo box that when selected I want to query a CMT which has the field set. The combo box allows the user to select an object
How can I populate the html based on the combo box selection.
Or can I just load them on load?
Just nee dto know how to show fields base don field set.
Thank you,
Michael
Do you want to display the list of fields based on the type of object selected from the drop down?
If yes then, try below:-
VF page :-
Controller :-
Please refer the below link for reference.
https://success.salesforce.com/answers?id=90630000000h1YfAAI
Hope it will be helpful.
Please mark it as best answer if it helps so that it can help other as well.
Thank you,
Priya Ranjan