0

"InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable"

I really hate you fucking InvalidStateError, I hate you will all my heart. How can I debug this fucking hell of error? form.setFieldsValue(mydamnvalue) should just work so I can be happy and advance the work on this app, fuck!!

Comments
  • 0
    In Chrome is "InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string." which is less confusing but still don't know what is the error talking about exactly
  • 1
    I would help, but due to the copious amounts of rum I've consumed, I am no longer able to read.
  • 1
    @Root jaja, thanks but I figured out that it was idea to push an ArrayBuffer as value on an input type="file" so I will just manage than ArrayBuffer outside the form
  • 1
    @Root ah right, I remember
Add Comment