Simple program to fetch picklist value dynamically from sObject to lightning component



Here we are going to write simple lightning program that fetch the picklist value from sObject dynamically to lightning component. We can fetch different picklist fields of same object with just one program, for that you just need to add method in helper and call that from controller. Here just to make neat code we are showing just one picklist field "Stage" from "opportunity" object.


output of picklist value of stage field
Reactions

Post a Comment

0 Comments