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

File input not always populated in edit form #1949

Closed
bogdanfazakas opened this issue Jul 26, 2023 · 4 comments · Fixed by #1993
Closed

File input not always populated in edit form #1949

bogdanfazakas opened this issue Jul 26, 2023 · 4 comments · Fixed by #1993
Assignees
Labels
Type: Bug Something isn't working

Comments

@bogdanfazakas
Copy link
Member

When using big files or api's behind the url used when creating the file, the file input doesn't get populated always which makes the whole validation form to fail and the submit button can't be used being disabled.
Eg in the image below, also in the debug the files type is no longer 'hidden' it defaults to 'ipfs' when this is reproduced.

Screenshot 2023-07-20 at 1 19 43 PM

@bogdanfazakas bogdanfazakas added the Type: Bug Something isn't working label Jul 26, 2023
@mihaisc
Copy link
Contributor

mihaisc commented Sep 24, 2023

So this is related to big files. Any proposed solution? And what would be the effort?

@LoznianuAnamaria LoznianuAnamaria added Status: Draft Issue that needs more refinement or specs and removed Status: Draft Issue that needs more refinement or specs labels Sep 29, 2023
@LoznianuAnamaria
Copy link
Contributor

@bogdanfazakas let's move this to someone else ;)

@bogdanfazakas
Copy link
Member Author

@bogdanfazakas let's move this to someone else ;)

agreed, I was not able to reproduce the issue (tried big files 1gb, url, ipfs etc, rest-api's etc),
tho if we can reproduce it somehow i'm happy to help with fixing it :)

@EnzoVezzaro
Copy link
Contributor

This is so weird, but I found a way to reproduce it.

  • Go on your nework tab
  • Set "slow 3g"
  • Refresh

If the internet connection is slow, for some reason the file input gets override / cleared.

https://www.loom.com/share/982976088011432f97e232aec528f7e3?sid=1f54558a-8dcc-41ca-b2fb-778d39c08c3e

I'll look into it 👍🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants