-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
va-file-input: Show a previously-uploaded file #3634
Comments
Can we fold into this ticket the behavior shown in this screenshot? Specifically we're looking for an ability to show "Uploading..." while the file is uploading. I've looked around here: https://design.va.gov/storybook/?path=/docs/uswds-va-file-input--docs and not found anything that looks quite like what we're looking for. I figured perhaps in addition to name and size we could provide an uploading boolean that would trigger some sort of Uploading... state (like shown in the screenshot here). |
Provide your estimate of 1, 2, 3, 5, 8 or 13 |
@Thrillberg This is not a bad idea, but it's out of scope for this ticket. Please submit a separate request. |
Sure thing! Here is another issue: #3660 |
Ultimate goal of this ticket is to provide a way to show that a file has previously been uploaded, without requiring the file itself. The "name" and "size" props were suggested as a way to 'fill in the blanks' because those values are what are currently available to the developer from the Redux store. Another option would be to override the existing "value" prop to accept an object (e.g. |
Description
Update the va-file input component to include a way to show that a file has been uploaded that doesn't require the file itself.
Details
Slack discussion: https://dsva.slack.com/archives/C085JHZMQ67
Tasks
Acceptance Criteria
The text was updated successfully, but these errors were encountered: