In my custom app I'm using dialog.selectMultipleEntries. I do not have a min or max set in the options. I've found that when I select more than 100 items in the dialog, I get back and array of the correct length, but every item in the array over the 100th item is undefined.
So for example, if I have this code
sdk.dialogs.selectMultipleEntries({
locale,
contentTypes: [linkedContentType],
})
.then((arrayOfSelectedEntries) => {
console.log(arrayOfSelectedEntries)
});
and I select 102 items, I get this result:
[
{sys:{...sys}, fields:{...fields}}, // index 0
{sys:{...sys}, fields:{...fields}}, // index 1
// ... and so on
undefined, // index 100
undefined, // index 101
]
The dialog seems to be able to hold over 100 items in the selected entries array, I'm wondering where the limit is coming from.
In my custom app I'm using dialog.selectMultipleEntries. I do not have a min or max set in the options. I've found that when I select more than 100 items in the dialog, I get back and array of the correct length, but every item in the array over the 100th item is undefined.
So for example, if I have this code
and I select 102 items, I get this result:
The dialog seems to be able to hold over 100 items in the selected entries array, I'm wondering where the limit is coming from.