webui-vue
webui-vue copied to clipboard
Firmware: Added file gets removed after clicking "Add file" and cancel
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:
- Go to 'Firmware' page
- Click on 'Add file', select a tarball, and click OK.
- Click on 'Add file' again, and click cancel.
- See the issue described above.
Expected behavior The file selected before remains.
Screenshots
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.
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
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?
Still an issue?