Problem/Motivation
Different Drupal forms throw an ajax.$form.ajaxSubmit
error on submit.
This has affected users at image upload, Block editing within Layout Builder sections, and ajax submissions for webforms. It is blocking development of various site items.
Steps to reproduce
Adding any elements to a form also gives the same error.
Steps:
- Install & enable the webform module.
- Add a new test form.
- Click the "+ Add element" button.
- Pick any element type, and fill in the form to create a new element.
- Click the "Save" button.
Proposed resolution
Fix the bug with ajax so that Drupal users can add / modify webforms, successfully upload images etc.
Remaining tasks
Test the proposed patch.
Merge it if good.
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
NA