You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When utilizing the Upload JSON File feature, a couple of issues are observed. After selecting a JSON file for upload, the file name is correctly displayed beside the Upload JSON File button. However, if the Clear button is then pressed to clear the JSON input, the code gets removed as expected but the file name continues to persist beside the Upload JSON File button. Furthermore, attempting to re-upload the same file fails. This issue seems to arise due to the retained value of the file input element after clearing the JSON input.
When I upload text.json
After pressing the clear button (file name still persists)
Steps To Reproduce
Upload a JSON file by clicking the "Upload JSON File" button and selecting a file.
Notice the uploaded file name displayed beside the "Upload JSON File" button.
Press the "Clear" button to clear the JSON input.
Observe that the JSON input is correctly cleared, but the file name still remains beside the "Upload JSON File" button.
Attempt to upload the same file again.
Notice that the file does not get uploaded, possibly due to the input element retaining the previous file's value.
Screenshots
No response
What browsers are you seeing the problem on?
Chrome
OS
Windows
Have you provided all details?
Yes, I have provided as much detail as possible
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
When utilizing the
Upload JSON File
feature, a couple of issues are observed. After selecting a JSON file for upload, the file name is correctly displayed beside the Upload JSON File button. However, if the Clear button is then pressed to clear the JSON input, the code gets removed as expected but the file name continues to persist beside the Upload JSON File button. Furthermore, attempting to re-upload the same file fails. This issue seems to arise due to the retained value of the file input element after clearing the JSON input.When I upload
text.json
After pressing the clear button (file name still persists)
Steps To Reproduce
Screenshots
No response
What browsers are you seeing the problem on?
Chrome
OS
Windows
Have you provided all details?
The text was updated successfully, but these errors were encountered: