eca_form: eca_form_add_ajax should automatically use field widgets

Issue information

From user: mxh

Related to !165 (merged)

Contribution record

Fork management

Problem/Motivation

The eca_form_add_ajax action plugin allows to add an AJAX handler to a form element.

Content entity fields are usually grouped within an entity form using a "container" render element, and using a "widget" as child of that container. The Ajax action should therefore automatically recognize this and use the widget's form elements instead of the container.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information