Add support for paragraphs

Created on 5 February 2025, 2 months ago

Problem/Motivation

Thank you for the great module. I was looking on autofilling fields in a paragraph but this is not supported as the js only looks for name="${sourceField}[0][value] while a field in a paragraph is put in a subform for example [name="field_paragraphs[0][subform][${sourceField}][0][value]"]. So to support this functionality in paragraphs, this should be changed.

Steps to reproduce

Install module and try to autofill fields on paragraphs.

Proposed resolution

Pass on the entity type for where the field is attached.
Alter the js to use an adjusted name selector.

Remaining tasks

Create MR
Review MR
Merge MR

User interface changes

None.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium tim-diels Belgium 🇧🇪

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024