-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxItems in document-list not working #5050
Comments
Thanks for raising this issue. We will address it in the future releases. Meanwhile, as a workaround, you can use the "app.config.json" file to provide the custom |
Hey there, |
Hey, @jatinAroraGit, thanks for the help. Feel free to pick it and create a PR with the update |
Hey, I will try to create a PR for this. |
Type of issue: (check with "[x]")
Current behaviour:
The "maxItems" property of the "DocumentListComponent" component does not work because it is not taken into account.
I want to display the user's favorites but only the first 5.
But in class constructor, you erase "maxItems" with UserPreferenceValues.PaginationSize.
Expected behavior:
We should only see 5 items.
Steps to reproduce the issue:
Put 10 files to your favorites. And test that :
<adf-document-list [currentFolderId]="'-favorites-'" [maxItems]="5"> </adf-document-list>
.It's not working and you will see your 10 files. You sould see only 5 files.
Component name and version:
adf-document-list => version 3.4
Browser and version:
Node version (for build issues):
v10.16.0
New feature request:
The text was updated successfully, but these errors were encountered: