alpine: Readonly properties cannot reassign with proxy
I did try to make a multiple file selector, but i’ve got an error in deepProxy
. File
has only readonly properties.
I’m select at least one file and got the error.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 17 (5 by maintainers)
@nandordudas @philippbosch Feel free to have a look at the PR, any feedback is welcome and appreciated.
@philippbosch has right, this is a very special case
there are many ways to solve the problem, this is not a fundamental
Hmm. That would be very helpful for @nandordudas’ and my case. But I can‘t tell how exotic this requirement is.
Fantastic, thanks for the PR @SimoTod, will wait for @nandordudas to confirm his test and I’ll merge it. Thanks everyone!
Thank you. I didnt know too. Tried to make a multiple file uploader, but the latest version failed - older version has another problem (the first item of the array wasnt available, logged in console but the iteration makes correct output in dom). “reassign” is maybe not the best word for this case, but you solved
Thank you once again @SimoTod ! I had just started to create a PR myself. I think this is the way to go. It makes a lot of sense to me and it fixes my issue 😊