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
[Due for payment 2026-02-23] Expensify Card - Smart limit description is truncated when selected #82326
Version Number: 9.3.18-2 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:#81783 Email or phone of affected tester (no customers):applausetester+khcategory20@applause.expensifail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.2 / Chrome App Component: Workspace Settings
Action Performed:
Precondition:
Workspace is set up with Expensify Card feature.
Assign yourself a virtual card with single-use limit.
Go to staging.new.expensify.com
Go to workspace settings > Expensify Card.
Click on the assigned card.
Select Smart limit.
Expected Result:
Smart limit description should be displayed in 2 lines (according to #50975).
Actual Result:
Smart limit description is displayed in 1 line and truncated.
👋 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 Causing PR: #81783 - "[Single-use and Expire-by virtual cards]: update edit card flow" by @nkdengineer (High confidence) Related Issues: Originally fixed in #50975
Recommendation: ROLL FORWARD
A revert would be complex because this PR introduced significant new functionality (single-use and expire-by virtual cards), including new form fields, date validation, and API parameter changes. The fix is simpler: add the isAlternateTextMultilineSupported prop to ValueSelectionList component or pass it through ValuePicker.
Labels: Keep DeployBlockerCash (frontend bug, App PR caused the issue)
📋 Detailed Analysis
Evidence
PR #81783 changed the WorkspaceEditCardLimitTypePage from using SelectionList with RadioListItem directly to using ValuePicker component with shouldShowModal={false}. This makes it render through ValueSelectionList.
The problem: ValueSelectionList does not support the isAlternateTextMultilineSupported prop that was added in PR #50975 to fix this exact issue. When ValueSelectionList creates options, it maps items to include alternateText (the description), but the SelectionList it renders does not receive isAlternateTextMultilineSupported, so descriptions default to 1 line instead of 2.
When PR #81783 refactored the limit type selection UI to use ValuePicker instead of SelectionList directly, it inadvertently removed the multiline support for alternate text that was added in PR #50975. The ValueSelectionList component needs to be enhanced to support multiline alternate text, or ValuePicker needs to accept and pass through this prop.
Fix Options
Option A (Recommended): Enhance ValueSelectionList to accept and pass isAlternateTextMultilineSupported prop to SelectionList
Option B: Enhance ValuePicker to accept and pass through isAlternateTextMultilineSupported to ValueSelectionList
This deploy blocker is correctly labeled. The issue is caused by PR #81783 which refactored the limit type selection UI but inadvertently removed multiline support for descriptions that was previously fixed in PR #50975.
Next Steps:
Tag @nkdengineer (PR author) to implement one of the fix options outlined above
The fix should be straightforward - add multiline support to the ValueSelectionList or ValuePicker component
Once fixed, verify that Smart limit description displays in 2 lines as expected
What changes do you think we should make in order to solve the problem?
We need to pass the value for alternateNumberOfSupportedLines as 2 through the component tree. This can be done in different ways, either by passing a Boolean value or a number. This will need to be passed from the WorkspaceEditCardLimitTypePage component to the ValueSelectionList component in order to pass it on here:
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Expensify Card - Smart limit description is truncated when selected[/-][+][Due for payment 2026-02-23] Expensify Card - Smart limit description is truncated when selected[/+]on Feb 16, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.19-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@lakchote@johncschuster The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Activity
melvin-bot commentedon Feb 12, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #81783
melvin-bot commentedon Feb 12, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Feb 12, 2026
Triggered auto assignment to @johncschuster (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.github-actions commentedon Feb 12, 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:
OSBotify commentedon Feb 12, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #81783 - "[Single-use and Expire-by virtual cards]: update edit card flow" by @nkdengineer (High confidence)
Related Issues: Originally fixed in #50975
Recommendation: ROLL FORWARD
A revert would be complex because this PR introduced significant new functionality (single-use and expire-by virtual cards), including new form fields, date validation, and API parameter changes. The fix is simpler: add the
isAlternateTextMultilineSupportedprop toValueSelectionListcomponent or pass it throughValuePicker.Labels: Keep
DeployBlockerCash(frontend bug, App PR caused the issue)📋 Detailed Analysis
Evidence
PR #81783 changed the WorkspaceEditCardLimitTypePage from using
SelectionListwithRadioListItemdirectly to usingValuePickercomponent withshouldShowModal={false}. This makes it render throughValueSelectionList.The problem:
ValueSelectionListdoes not support theisAlternateTextMultilineSupportedprop that was added in PR #50975 to fix this exact issue. WhenValueSelectionListcreates options, it maps items to includealternateText(the description), but theSelectionListit renders does not receiveisAlternateTextMultilineSupported, so descriptions default to 1 line instead of 2.Verification
src/pages/workspace/expensifyCard/WorkspaceEditCardLimitTypePage.tsxSelectionListdirectly withisMultilineSupportedandalternateNumberOfSupportedLines={2}ValuePickerwithshouldShowModal={false}, which rendersValueSelectionListValueSelectionList(insrc/components/ValuePicker/ValueSelectionList.tsx) does not passisAlternateTextMultilineSupportedtoSelectionListisAlternateTextMultilineSupportedto theSelectionListinLimitTypeStep.tsxRoot Cause
When PR #81783 refactored the limit type selection UI to use
ValuePickerinstead ofSelectionListdirectly, it inadvertently removed the multiline support for alternate text that was added in PR #50975. TheValueSelectionListcomponent needs to be enhanced to support multiline alternate text, orValuePickerneeds to accept and pass through this prop.Fix Options
ValueSelectionListto accept and passisAlternateTextMultilineSupportedprop toSelectionListValuePickerto accept and pass throughisAlternateTextMultilineSupportedtoValueSelectionListSelectionListdirectly inWorkspaceEditCardLimitTypePage.tsx(similar to how it was before PR [Single-use and Expire-by virtual cards]: update edit card flow #81783)OSBotify commentedon Feb 12, 2026
Summary
This deploy blocker is correctly labeled. The issue is caused by PR #81783 which refactored the limit type selection UI but inadvertently removed multiline support for descriptions that was previously fixed in PR #50975.
Next Steps:
ValueSelectionListorValuePickercomponentcc @johncschuster
Eskalifer1 commentedon Feb 12, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
Expensify Card - Smart limit description is truncated when selected
What is the root cause of that problem?
Now we use ValuePicker:
App/src/pages/workspace/expensifyCard/WorkspaceEditCardLimitTypePage.tsx
Lines 266 to 279 in 7ccc11c
By default, it does not accept or pass on props that show whether there can be multiple lines of text:
App/src/components/ValuePicker/index.tsx
Lines 74 to 81 in 7ccc11c
App/src/components/ValuePicker/ValueSelectionList.tsx
Lines 20 to 30 in 7ccc11c
What changes do you think we should make in order to solve the problem?
We need to pass the value for
alternateNumberOfSupportedLinesas 2 through the component tree. This can be done in different ways, either by passing a Boolean value or a number. This will need to be passed from theWorkspaceEditCardLimitTypePagecomponent to theValueSelectionListcomponent in order to pass it on here:App/src/components/ValuePicker/ValueSelectionList.tsx
Lines 20 to 30 in 7ccc11c
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
nkdengineer commentedon Feb 13, 2026
@lakchote @dukenv0307 Raised a fix.
IuliiaHerets commentedon Feb 13, 2026
Issue is not repro anymore on Web, Android and iOS, v9.3.18-4
Screen.Recording.2026-02-13.at.12.13.19.1.mp4
smart.limit.2.1.MP4
ex.card.andro.mp4
[-]Expensify Card - Smart limit description is truncated when selected[/-][+][Due for payment 2026-02-23] Expensify Card - Smart limit description is truncated when selected[/+]melvin-bot commentedon Feb 16, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Feb 16, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.19-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-02-23. 🎊
melvin-bot commentedon Feb 16, 2026
@lakchote @johncschuster The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]