the overlay UserPicker doesn't have the option to disable multiPicker like other pickers.
I am working on a package and need to select one user, for now I solved it by taking the first result:
submit: function (model) {
// Get first selected user
vm.model.note.assignedTo = usersBuilder.convert(model.selection[0]);
vm.overlay.show = false;
vm.overlay = null;
}
But would like to have a nicer and cleaner way by disabling the multiPicker.
Disable multipicker in UserPicker overlay
Hi all,
the overlay
UserPicker
doesn't have the option to disable multiPicker like other pickers.I am working on a package and need to select one user, for now I solved it by taking the first result:
But would like to have a nicer and cleaner way by disabling the multiPicker.
Also created an issue on the tracker:
http://issues.umbraco.org/issue/U4-11189
Source code folder of the picker:
https://github.com/umbraco/Umbraco-CMS/tree/dev-v7/src/Umbraco.Web.UI.Client/src/views/common/overlays/userpicker
/Michaël
is working on a reply...