Referring to the below code, i want to autocomplete on text box with id name with data as the source.
For the autocomplete Label should be displayName and value should be uid.After selecting one of the value corresponfing email id should be populated in the emailid text field.