va-file-input: Add password submit button (#1952) - cherry pick from previous revert#1997
Merged
RyanMunsch merged 9 commits intomainfrom Feb 24, 2026
Merged
va-file-input: Add password submit button (#1952) - cherry pick from previous revert#1997RyanMunsch merged 9 commits intomainfrom
RyanMunsch merged 9 commits intomainfrom
Conversation
* Recreate changes from OG branch (with focus mgmt) * Temporarily flip `chromatic.onlyChanged` flag * Revert "Temporarily flip `chromatic.onlyChanged` flag" This reverts commit 4f229e0. * Remove commented out story setup * Clear password on file change and file removal * Move focus to password input when its in error on password submit * Add test story with realistic encrypted file flow * Ensure there's an old file before clearing password state on file change * Update alert text to match Figma * Fix expected va-alert innerHTML in test * Update alert text, message-aria-describedby, button label --------- Co-authored-by: amyleadem <amyleadem@gmail.com>
Contributor
|
There's been a minor change due to a bug flagged by Ian while testing against the forms library. There have also been changes from merging newer PRs in from main. It'd be good to get another round of reviews in, mainly just checking that functionality still looks good in stories for file input and file input multiple. |
jamigibbs
commented
Feb 24, 2026
Contributor
Author
jamigibbs
left a comment
There was a problem hiding this comment.
It looks like I can't approve this PR because I technically created it but I put my approval here! ✅
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Chromatic
https://file-input-pw-button-pick--65a6e2ed2314f7b8f98609d8.chromatic.com
Summary
Provide a one or two sentence summary of the update that can be used in the changelog.
Description
This PR will bring back into
mainadding the password submit button to va-file-input:Related tickets and links
Original issue department-of-veterans-affairs/vets-design-system-documentation#4915
Screenshots
Testing and review
Approvals
See the QA Checklists section below for suggested approvals. Use your best judgment if additional reviews are needed. When in doubt, request a review.
Approval groups
Add approval groups to the PR as needed:
QA checklists
Use the QA checklists below as guides, not rules. Not all checklists will apply to every PR but there could be some overlap.
In all scenarios, changes should be fully tested by the author and verified by the reviewer(s); functionality, responsiveness, etc.
✨ New Component Added
minorlabel🌱 New Component Variation Added
minorlabel🐞 Component Fix
patchlabel♿️ Component Fix - Accessibility
patchlabel🚨 Component Fix - Breaking API Change
majorlabel🔧 Component Update - Non-Breaking API Change
minorlabel📖 Storybook Update
ignore-for-releaselabel🎨 CSS-Library Update
css-librarylabel