PnP-Tools
PnP-Tools copied to clipboard
Unable to search people in calendar list with Reponsive-UI
Hi. I have created a calendar application and add a people picker multiselect. In newform and editform I can directly validate the name of a user. However, when I click on the browse icon, the search returns no results.
Am i the only one having this problem ?
@FrapsyOnGithub which solution is the question target to?
hi, it's on the UI Responsive solution
I confirm this error. We need to have something like this:
But the window is empty instead:
Any ideas, can we partially disable SP-Responsive-UI functionality on calendar people pickers?..
Best regards, Gennady
Ok. As a workaround I added this stamp in init function (not perfect, maybe better do something like window.location.href.toLowerCase().indexOf("/newform.aspx"):
init: function () {
if (!initState) {
/* gg added: return if New Form or Edit Form */
if (window.location.href.indexOf('/NewForm.aspx') < 0 || window.location.href.indexOf('/EditForm.aspx') < 0 ) {
console.log('New/Edit Form; PnP Responsive skipped');
return;
}
var currentScriptUrl;
Now People Picker works for me
Best regards, Gennady