Here's an example of how you can configure your myDropzone.js file: Make the 'url. In your Dropzone options, en that the 'url' property is correctly set to the PHP file handling the form submission. I was looking at other questions of the same problem and I have my config loaded right after the dropzone js but it still doesn't work and as far as I can see I do have a destination for my form as you can see in the provided code. I would be interested in seeing what you're trying to accomplish, but that's a different conversation. If you encounter the 'Uncaught Error: No URL provided' issue in Dropzone.js, it's likely due to a misconfiguration in your myDropzone.js file. Oracle-ADF exposes a Javascript API ( AdfFileUploadManager) which requires you to call addFileToQueue (Object file) to send files to the backend. I hope I have helped you make a decision! or at the least gave you enough input to accept that you're going the right way. For a project that I am working on in IE11 and Oracle-ADF I am trying to implement DropzoneJS for a drag-and-drop upload feature the client requested. I am working on a project that allows cropping (and potentially re-sizing) of images, but I'm struggling with a potential bug that I'm waiting to hear back from. I only use DropzoneJS because I only need the ability to drag and drop files and upload them to the server without being edited. I imagine it is possible to do what you want, but I feel like you will end up recreating a few wheels from FileDrop and/or file-input. I used v.5.9.3 which generate 'No URL provided' error. I'm guessing right now that DropzoneJS is not the right one this time. In the end deciding on the perfect library for your project falls to you. The file-input part doesn't seem necessary for me, but I have not seen your iteration of using it. Code Issues 30 Pull requests Actions Security Insights New issue No url provided, dropzone already attached 54 Closed gate3 opened this issue on 9 comments commented on gate3 closed this as completed on sconix added the invalid label on Sign up for free to join this conversation on GitHub. It would be interesting to say that DropzoneJS could potentially move to something like that, but I doubt that is a goal of enyo or anyone in this specific community. If you're trying to edit the file contents and then possibly send those new contents to the server to then be downloaded by the client that is a completely different type of functionality. F-35C) be used as a vertical stabilizer how can I write an inline hexadecimal value. Hot Network Questions Could the folding wingtips of a plane (ex. Multiple dropzones on same page cause bugs to appear. It is more of being able to edit the contents of the provided file. Dropzone no url provided / Dropzone already attached. The FileDrop from chrismbarr is a different type of file drop. So I want to say DropzoneJS is all you need and setting up the options to fit your needs would be best for you, but now I don't know what you want. If you don't need them or want to create custom component then you might want to use the directive instead.Out of curiosity are you not going to upload the files to the server at some point? NOTE: Component provides couple additional features from directive such as the placeholder image. Simply replace the element that would ordinarily be passed to Dropzone with the dropzone component. This library provides two ways to create a Dropzone element, component for simple use cases and directive for more custom use cases. Import ) Use it in your HTML template (with custom configuration):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |