umbraco v 4.7.0 - ucomponents 2.1 (Member) autocomplete bug?
Hi,
Im' using umbraco v
4.7.0 (Assembly version: 1.0.4090.38017) with uComponents 2.1
I have a document type using this autocomplete to select multiple members
and use the follow script to display them;
@inherits umbraco.MacroEngines.DynamicNodeContext @using umbraco.cms.businesslogic.member @{ if(Model.acteurs.ToString() != string.Empty) { var tokenSeperatedList = Model.acteurs.ToString().Split(','); <ul> @foreach (var item in tokenSeperatedList) { try { var member = new Member(Convert.ToInt32(item)).Text; <li><a href="/statistieken/actors-statistics.aspx?member=@item">@member</a></li> } catch { } } </ul> } }
I noticed that Model.acteurs.ToString() sometimes show a comma separeted list of id's (and then the members are displayed correctly) but also randomly forget's to add the comma's between the id's, which makes the script fail to render the actors.
So it goes wrong on the input : why are the comma's not always added?
umbraco v 4.7.0 - ucomponents 2.1 (Member) autocomplete bug?
Hi,
Im' using umbraco v 4.7.0 (Assembly version: 1.0.4090.38017) with uComponents 2.1
I have a document type using this autocomplete to select multiple members
and use the follow script to display them;
I noticed that Model.acteurs.ToString() sometimes show a comma separeted list of id's (and then the members are displayed correctly) but also randomly forget's to add the comma's between the id's, which makes the script fail to render the actors.
So it goes wrong on the input : why are the comma's not always added?
Anyone had this problem before?
Kind regards,
C.
is working on a reply...