diff --git a/src/CONST.ts b/src/CONST.ts index 47ab30589612..f52e55b86e02 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -2902,6 +2902,12 @@ const CONST = { BACK_BUTTON_NATIVE_ID: 'backButton', + /** + * The maximum count of items per page for OptionsSelector. + * When paginate, it multiplies by page number. + */ + MAX_OPTIONS_SELECTOR_PAGE_LENGTH: 500, + /** * Performance test setup - run the same test multiple times to get a more accurate result */ diff --git a/src/components/MoneyRequestConfirmationList.js b/src/components/MoneyRequestConfirmationList.js index 6cf1b7e6cef1..7ece89bf97b8 100755 --- a/src/components/MoneyRequestConfirmationList.js +++ b/src/components/MoneyRequestConfirmationList.js @@ -28,17 +28,16 @@ import * as IOU from '@userActions/IOU'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; -import Button from './Button'; import ButtonWithDropdownMenu from './ButtonWithDropdownMenu'; import categoryPropTypes from './categoryPropTypes'; import ConfirmedRoute from './ConfirmedRoute'; import FormHelpMessage from './FormHelpMessage'; -import * as Expensicons from './Icon/Expensicons'; import Image from './Image'; import MenuItemWithTopDescription from './MenuItemWithTopDescription'; import optionPropTypes from './optionPropTypes'; import OptionsSelector from './OptionsSelector'; import SettlementButton from './SettlementButton'; +import ShowMoreButton from './ShowMoreButton'; import Switch from './Switch'; import tagPropTypes from './tagPropTypes'; import Text from './Text'; @@ -636,20 +635,10 @@ function MoneyRequestConfirmationList(props) { numberOfLinesTitle={2} /> {!shouldShowAllFields && ( - - -