From 9783b2c3adf801b76cc46da1713fb841cd9a4eb8 Mon Sep 17 00:00:00 2001 From: Luckyman0305 Date: Mon, 7 Aug 2023 07:29:22 -0700 Subject: [PATCH] fix: issue Split bill - 'No results found' appears with lowcase --- .../MoneyRequestParticipantsSplitSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSplitSelector.js b/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSplitSelector.js index 6cad0bab586b..d442c03b0b30 100755 --- a/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSplitSelector.js +++ b/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSplitSelector.js @@ -150,7 +150,7 @@ function MoneyRequestParticipantsSplitSelector({betas, participants, personalDet Boolean(newChatOptions.userToInvite), searchTerm, maxParticipantsReached, - participants.filter(participant => participant.searchText.includes(searchTerm)).length > 0 + participants.filter(participant => participant.searchText.toLowerCase().includes(searchTerm.toLowerCase())).length > 0 ); const isOptionsDataReady = ReportUtils.isReportDataReady() && OptionsListUtils.isPersonalDetailsReady(personalDetails);