We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d40d0af commit 403396cCopy full SHA for 403396c
2 files changed
src/CONST/index.ts
@@ -5183,7 +5183,7 @@ const CONST = {
5183
* The maximum count of items per page for SelectionList.
5184
* When paginate, it multiplies by page number.
5185
*/
5186
- MAX_SELECTION_LIST_PAGE_LENGTH: 50,
+ MAX_SELECTION_LIST_PAGE_LENGTH: 500,
5187
5188
/**
5189
* Bank account names
src/components/SelectionList/BaseSelectionList.tsx
@@ -777,9 +777,7 @@ function BaseSelectionList<TItem extends ListItem>(
777
: 0;
778
779
// Reset the current page to 1 when the user types something
780
- if (prevTextInputValue !== textInputValue) {
781
- setCurrentPage(1);
782
- }
+ setCurrentPage(1);
783
784
updateAndScrollToFocusedIndex(newSelectedIndex);
785
}, [
0 commit comments