Drupal 10 compatibility

Created on 19 June 2024, 8 months ago

Problem/Motivation

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.

Steps to reproduce

- 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.

Proposed resolution

Generate a new version of the module that is compatible with Drupal 10.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ดColombia yovanny.gomez.oyola

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024