This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Description
With version 1.16.0 my custom UrlPicker label template broke.
The labels are empty but appear when I expand an item.
It works with v1.15.1.
The code:
var UrlPickerTemplate = {};
UrlPickerTemplate.getTitle = function (value, scope) {
//this is the property model
if (value.length) {
var firstValue = value[0];
return ArchetypeSampleLabelTemplates.UrlPicker(firstValue, scope, { propertyName: "name" });
}
//if you wanted to get the name of the content instead, you'd have to get it from the server here since it's not in the model
return "";
};