question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upload file (base 64) not working in wizard

See original GitHub issue

Hi, i try to upload file by file input. Everything it’s ok in “normal” form, but when i try to wizard this is what appens:

File.js:853 Uncaught TypeError: Cannot read property ‘querySelector’ of null at eval (File.js:853) at Array.forEach (<anonymous>) at FileComponent.upload (File.js:807) at HTMLInputElement.onChange (File.js:305) (anonymous) @ File.js:853 upload @ File.js:807 onChange @ File.js:305

var submitButton = _this14.root.element.querySelector('.formio-component-submit').querySelector('button');

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
noman115pkcommented, May 28, 2019

@marcopollacci I have upload field in different pages than last, so i had to add a null check and bypass the #1096 where button gets disabled.

1reaction
wag110894commented, May 23, 2019

Hello, Thanks for reaching out! We are aware of this issue on File Upload on Wizard. We have tagged you on the ticket for this issue and will let you know once it is resolved. For reference, the ticket number is FOR-2304.

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uploading a base64 encoded image to Node.js server not ...
The thing is the file stored in /uploads isn't work. I can't see the image. The base64 image is sent and the file...
Read more >
File Upload inside wizard unable to upload image ... - MSDN
When the file upload is iniside wizard control ,which has update panel ,it ... ImageUrl = "data:image/png;base64," + base64String; imgPhoto.
Read more >
How to upload files from your HTML form using ... - Formcarry.
Learn how to quickly encode your file input content as Base64 Data URI and save it to your server.
Read more >
How to convert image into base64 string using JavaScript
Now we will put onchange on input type and this will execute a function imageUploaded() when you upload an image. Now we will...
Read more >
File Uploads - Laravel Livewire
Basic File Upload · Handling Multiple Files · File Validation · Temporary Preview Urls · Testing File Uploads · Uploading Directly To Amazon...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found