Skip to content
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

Firmware: Added file gets removed after clicking "Add file" and cancel #73

Open
leiyu-bytedance opened this issue Jul 28, 2021 · 3 comments
Labels
question Further information is requested

Comments

@leiyu-bytedance
Copy link
Contributor

Describe the bug
In the "Firmware" page, after selecting a file to upload, the file is shown below "Add file" button.
Then if one clicks the "Add file" again and cancel the selection in the dialog, the file below the "Add file" button is removed and a red "Required" is shown instead.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Firmware' page
  2. Click on 'Add file', select a tarball, and click OK.
  3. Click on 'Add file' again, and click cancel.
  4. See the issue described above.

Expected behavior
The file selected before remains.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows/MacOS
  • Browser Chrome
  • Version 92.0.4515.107

Additional context
On Windows Firefox 90.0.2, the issue is not reproduced.
So the issue is reproduced only on Chrome. Safari is not tested.

@derick-montague derick-montague added the question Further information is requested label Aug 9, 2021
@dixsie
Copy link
Member

dixsie commented Oct 7, 2021

Looks like this is how the Bootstrap Vue file component behaves on Chrome. I observed the same behavior in the example in the Bootstrap Vue docs https://bootstrap-vue.org/docs/components/form-file on Chrome

This may be a bug for Bootstrap Vue, not the Web UI

@leiyu-bytedance
Copy link
Contributor Author

Looks like this is how the Bootstrap Vue file component behaves on Chrome. I observed the same behavior in the example in the Bootstrap Vue docs https://bootstrap-vue.org/docs/components/form-file on Chrome

This may be a bug for Bootstrap Vue, not the Web UI

Could you report this issue to vue?

rfrandse referenced this issue in ibm-openbmc/webui-vue Jul 28, 2022
Updated the USB Firmware Update Policy enabled/disabled Info
Available only for service login
Fixed Incorrect toast notifications in policy page that existed

Signed-off-by: Nikhil Ashoka <[email protected]>
@gtmills
Copy link
Member

gtmills commented Apr 29, 2024

Still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants