Add support for location fields that embedded inside paragraphs

Created on 17 November 2023, 11 months ago
Updated 19 November 2023, 10 months ago

Problem/Motivation

We have address field inside paragraph that is embeded using inline_entity_form module.
The location_field setting for js selector used in form_page.find("input[name*='" + location_field + "[0][value][lat]']")
do not contain parts for parents.

Steps to reproduce

Create paragraph with address and geofiled fields.
Configure address field widget to use address_suggestion widget.
Add paragraph to some content type and use inline_entity_form as field widget for paragrapgh reference field.

Proposed resolution

Check field's form element #parent property and correct location_field js property.

Remaining tasks

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine vlad.dancer Kyiv

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