Got a nuPicker dropdown on member profile. It shows time zones from IDotNetDataSource:
TimeZones.List.Select(z => new KeyValuePair<string, string>(z.DisplayName, z.DisplayName))
Everything works fine except one particular value - "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna". This value is stored in DB correctly and comes from the server in request /umbraco/backoffice/UmbracoApi/Member/GetByKey?key=xxx. But it's not preselected in the dropdown. So if you try to save the profile after page refresh - validation says it's mandatory.
Running Umbraco version 7.3.8 assembly: 1.0.5891.22674 and nuPicker 1.5.3.
nuPicker value not prepopulated
Hi all.
Got a nuPicker dropdown on member profile. It shows time zones from IDotNetDataSource:
Everything works fine except one particular value - "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna". This value is stored in DB correctly and comes from the server in request /umbraco/backoffice/UmbracoApi/Member/GetByKey?key=xxx. But it's not preselected in the dropdown. So if you try to save the profile after page refresh - validation says it's mandatory.
Running Umbraco version 7.3.8 assembly: 1.0.5891.22674 and nuPicker 1.5.3.
Thanks, Sergey.
Somehow the issue only happens with "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna". Maybe the value is just too long.
Jeroen
The issue happens when the string contains commas and JavaScript separate it because the data stored as a CSV.
Nadeya
is working on a reply...