Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ({
- doInit : function(component) {
- var action = component.get("c.getPickListValuesIntoList");
- action.setParams({
- objectType: component.get("v.sObjectName"),
- selectedField: component.get("v.fieldName")
- });
- action.setCallback(this, function(response) {
- var list = response.getReturnValue();
- component.set("v.picklistValues", list);
- })
- $A.enqueueAction(action);
- }
- })
Add Comment
Please, Sign In to add comment