Dropzone in Modal does not work #188
Unanswered
dpawar2015
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Use one of the Livewire hooks to initiate Dropzone once the component is initialized or updated: <script>
document.addEventListener("DOMContentLoaded", () => {
Livewire.hook('component.initialized', (component) => {})
Livewire.hook('element.initialized', (el, component) => {})
Livewire.hook('element.updating', (fromEl, toEl, component) => {})
Livewire.hook('element.updated', (el, component) => {})
Livewire.hook('element.removed', (el, component) => {})
Livewire.hook('message.sent', (message, component) => {})
Livewire.hook('message.failed', (message, component) => {})
Livewire.hook('message.received', (message, component) => {})
Livewire.hook('message.processed', (message, component) => {})
});
</script> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Uploading files using Dropzone in Modal does not work for me. Is anybody else facing this issue? How did you resolve it?
Blade file without modal works fine.
Beta Was this translation helpful? Give feedback.
All reactions