Hi @matthewyarlett I am trying to load the people picker with values from a list when the form is loaded. I have the values getting populated in the people picker but they are unresolved. If I hit Ctrl+K to manually resolve the control the users resolved fine.
$scope.configForm = {};
myFactory.getSystemConfig("ConfigA").then(function (values) {
$scope.configForm.ConfigA = { results: values }; // values is an array [{ Id: 2, Name: "My Group 1", Title: "My Group 1" }]
});
Disregard. I saw your comments regarding SPClientPeoplePicker.SPClientPeoplePickerDict[pickerId].ResolveAllUsers(); I uncommented those lines and everything resolved as expected :)
Hi @matthewyarlett I am trying to load the people picker with values from a list when the form is loaded. I have the values getting populated in the people picker but they are unresolved. If I hit Ctrl+K to manually resolve the control the users resolved fine.
HTML:
JavaScript: