-
Notifications
You must be signed in to change notification settings - Fork 70
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
File Upload Dropzone - Not able to reset error state #851
Comments
@enowak1031 @egunther39 Can we refine the requirements on the interactions? Do we allow for user to clear error message? I assume it should allow drop regardless. |
@cjwinsor - Add a button that allows the user to "Reset" the error state back to default. Text string should explain what the error is eg. "Multiple files are not allowed. Please try again" |
The behavior of the reset button for each error state needs to be identified.
Note: Need to understand how the component is used by the consumer. If the consumer displays something like file list panel where they have the file name and delete icon, then it is possible they also highlight the file that failed the validation allowing the user to take appropriate action. In this particular case, when the user clicks the delete icon to remove the multiple files the consumer will call the |
The expected behavior is to reset to the initial state of the component on clicking the reset button. |
Once an error state is achieved looks like there is no way to attempt the upload again, trying to drop a valid file is not clearing the error message.
Steps to reproduce the behavior:
Expected behavior
The error message should be cleared when the upload is valid.
The text was updated successfully, but these errors were encountered: