- Issue created by @yovanny.gomez.oyola
- ๐จ๐ดColombia yovanny.gomez.oyola
I am attaching initial patch with Drupal 10 compatibility solutions.
- ๐ฎ๐ณIndia Rajan Kumar@2026
Rajan Kumar@2026 โ made their first commit to this issueโs fork.
Currently, I'm running Drupal core version 10.2.7 with PHP 8.2.18. For handling DropzoneJS functionality, I'm using drupal/dropzonejs ^2.10 and enyo/dropzone ^6.0@beta. However, I encountered issues integrating this with WebForm due to the module's lack of support for Drupal 10, indicating it's considerably outdated.
I have had to use drupal-lenient to install the 1.0.2 version of this module, but it generates many errors.
Is there an alternative approach for incorporating DropzoneJS into WebForm without relying on this module? Simply installing drupal/dropzonejs didn't suffice as the expected element isn't appearing within WebForm.
- Install Drupal 10.
- Configure drupal-lenient to ensure compatibility with the latest module versions.
- Install drupal/dropzonejs and enyo/dropzone, along with the DropzoneJS library.
- Execute "composer require 'drupal/dropzonejs_webform:^1.0'" to install the dropzonejs_webform module.
- Enable the dropzonejs_webform module.
- Add a DropzoneJS element to a WebForm.
Issues arise during rendering: the file upload lacks the dropzonejs_webform library, and file retention is not maintained when navigating through the wizard.
Generate a new version of the module that is compatible with Drupal 10.
Active
1.0
Code
I am attaching initial patch with Drupal 10 compatibility solutions.
Rajan Kumar@2026 โ made their first commit to this issueโs fork.