You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Spend - Limit Results accepts non-numeric input and resets filter after apply #99637
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug (the fix belongs in Expensify/App), but pre-existing — not a regression from the v9.4.62 release. Causing PR: No PR in the current StagingDeployCash (v9.4.62) checklist caused this. The buggy code originates from the Search actions-bar revamp — #86297 / #85508 by bernhardoj, merged March–April 2026 (Medium confidence on origin). Related Issues: None identified.
Recommendation: DEMOTE
This bug reproduces on production and the affected files are byte-identical between production and staging, so it is a long-standing, pre-existing bug — not introduced by v9.4.62. It is a minor client-side validation gap on the "Limit Results" display filter (non-core functionality) and should not block this deploy. It should be handled as a normal (non-blocker) bug. The blocker label has already been removed and the issue is labeled Not a priority / Monthly, which matches this recommendation.
Assigned: None added — no causing PR in this release; this is a pre-existing bug being demoted (origin PR author bernhardoj noted above for whoever picks up the non-blocker fix). Labels: No change. The issue currently carries only Monthly and Not a priority (no DeployBlockerCash/DeployBlocker present), so there is no blocker label to remove.
📋 Detailed Analysis
Evidence
The report states Reproducible in staging? Yes and Reproducible in production? Yes. A bug present in production cannot have been introduced by a staging-only release, so v9.4.62 is not the cause.
git compare production...staging for this release changes no filter-dropdown files. Among Search-related files, only src/libs/SearchUIUtils.ts (and its test) changed, and that diff contains no limit/numeric/validation logic — unrelated to this bug.
I scanned the relevant Search filter files against production: TextInputPopup.tsx and DisplayPopup.tsx both exist in production and are identical to staging. The production copy of TextInputPopup.tsx contains only a plain <TextInput> with no inputMode, keyboardType, or numeric validation — the same buggy code.
The GitHub commit history of TextInputPopup.tsx traces back to March 2026 ("revamp search page actions bar"), well before this release.
Verification
Affected feature files:
src/components/Search/FilterDropdowns/DisplayPopup.tsx — the LIMIT case renders TextInputPopup for the Limit Results filter:
Confirmed no StagingDeployCash (v9.4.62) PR modifies FilterDropdowns/, DisplayPopup.tsx, or TextInputPopup.tsx.
Root Cause
The Limit Results field is rendered by TextInputPopup, which uses a generic <TextInput> with no numeric input mode and no validation. On Apply it calls onChange(value) with the raw string, so non-numeric text is accepted without error. Because a non-numeric limit is not a valid limit, it is discarded downstream, which is why the filter "resets to empty" after applying. The fix (restrict the field to numeric input / validate before apply) belongs in Expensify/App, but since the code has shipped in production for months, it does not block the v9.4.62 deploy.
Activity
applause-bot commentedon Aug 27, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/e6804fe077e9321850089c9c2576c97eafacab7aef8cffddcb2df3ba81981247
melvin-bot commentedon Aug 27, 2026
Triggered auto assignment to @Gonals (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Aug 27, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Aug 27, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
MelvinBot commentedon Aug 27, 2026
🔍 Investigation Summary
Classification: Frontend bug (the fix belongs in
Expensify/App), but pre-existing — not a regression from the v9.4.62 release.Causing PR: No PR in the current
StagingDeployCash(v9.4.62) checklist caused this. The buggy code originates from the Search actions-bar revamp — #86297 / #85508 bybernhardoj, merged March–April 2026 (Medium confidence on origin).Related Issues: None identified.
Recommendation: DEMOTE
This bug reproduces on production and the affected files are byte-identical between
productionandstaging, so it is a long-standing, pre-existing bug — not introduced by v9.4.62. It is a minor client-side validation gap on the "Limit Results" display filter (non-core functionality) and should not block this deploy. It should be handled as a normal (non-blocker) bug. The blocker label has already been removed and the issue is labeledNot a priority/Monthly, which matches this recommendation.Assigned: None added — no causing PR in this release; this is a pre-existing bug being demoted (origin PR author
bernhardojnoted above for whoever picks up the non-blocker fix).Labels: No change. The issue currently carries only
MonthlyandNot a priority(noDeployBlockerCash/DeployBlockerpresent), so there is no blocker label to remove.📋 Detailed Analysis
Evidence
git compare production...stagingfor this release changes no filter-dropdown files. Among Search-related files, onlysrc/libs/SearchUIUtils.ts(and its test) changed, and that diff contains nolimit/numeric/validationlogic — unrelated to this bug.TextInputPopup.tsxandDisplayPopup.tsxboth exist inproductionand are identical tostaging. The production copy ofTextInputPopup.tsxcontains only a plain<TextInput>with noinputMode,keyboardType, or numeric validation — the same buggy code.TextInputPopup.tsxtraces back to March 2026 ("revamp search page actions bar"), well before this release.Verification
src/components/Search/FilterDropdowns/DisplayPopup.tsx— theLIMITcase rendersTextInputPopupfor the Limit Results filter:App/src/components/Search/FilterDropdowns/DisplayPopup.tsx
Lines 216 to 226 in 52fde79
src/components/Search/FilterDropdowns/TextInputPopup.tsx— the input component with no numeric validation:App/src/components/Search/FilterDropdowns/TextInputPopup.tsx
Lines 47 to 54 in 52fde79
StagingDeployCash(v9.4.62) PR modifiesFilterDropdowns/,DisplayPopup.tsx, orTextInputPopup.tsx.Root Cause
The Limit Results field is rendered by
TextInputPopup, which uses a generic<TextInput>with no numeric input mode and no validation. On Apply it callsonChange(value)with the raw string, so non-numeric text is accepted without error. Because a non-numeric limit is not a valid limit, it is discarded downstream, which is why the filter "resets to empty" after applying. The fix (restrict the field to numeric input / validate before apply) belongs inExpensify/App, but since the code has shipped in production for months, it does not block the v9.4.62 deploy.view run
Gonals commentedon Oct 1, 2026
Not a priority
Gonals commentedon Nov 4, 2026
same