I am trying to put multiple strings into the selectedLookUpsHtml option of glowLookUpTextBox, but it is not working, like so:
context.photographer = context.photographer.glowLookUpTextBox({
delimiter: ',',
maxValues: 5,
onGetLookUps: function(tb, searchText) {
searchUsers(context, tb, searchText, "Photographer");
},
emptyHtml: '',
selectedLookUpsHtml: ["mary","james"],
deleteImageUrl: ''});
and
context.photographer = context.photographer.glowLookUpTextBox({
delimiter: ',',
maxValues: 5,
onGetLookUps: function(tb, searchText) {
searchUsers(context, tb, searchText, "Photographer");
},
emptyHtml: '',
selectedLookUpsHtml: context.photogTitle.split(","),
deleteImageUrl: ''});
Does anyone know the syntax for putting multiple strings in this option?
Edited.
[edited by: IbrahimK at 2:34 PM (GMT 0) on Fri, Sep 18 2020]