1.3.2 breaks entity reference auto complete

Created on 19 October 2023, about 1 year ago
Updated 16 June 2024, 5 months ago

Problem/Motivation

after applying 1.3.2 over 1.3.0, entity reference fields, with multiple values, in a form sub-group, with modified label (add another item) do not propose auto complete matching entities anymore. It also breaks the "show row weights" part of the form, not hiding the "order" column when the row weights are hidden.

Reverting back to 1.3.0 fixes the issues. Might be linked to the address field issue (which also had form sub-groups) in 1.3.1.

Steps to reproduce

here's the form. the issue is with the "Songs" field in the "group_disco_version_songs" group

uuid: a93f64e8-5580-4093-9338-bb92d760623d
langcode: en
status: true
dependencies:
config:
- field.field.node.disco_version.field_disco_asin
- field.field.node.disco_version.field_disco_catalogue_ref
- field.field.node.disco_version.field_disco_comment
- field.field.node.disco_version.field_disco_discog_ref
- field.field.node.disco_version.field_disco_label
- field.field.node.disco_version.field_disco_main
- field.field.node.disco_version.field_disco_master
- field.field.node.disco_version.field_disco_promo
- field.field.node.disco_version.field_disco_publication_date
- field.field.node.disco_version.field_disco_sleeve
- field.field.node.disco_version.field_disco_songs
- field.field.node.disco_version.field_disco_version_format
- field.field.node.disco_version.field_disco_version_territory
- image.style.thumbnail
- node.type.disco_version
module:
- address
- field_group
- hide_revision_field
- image
- path
- ymd_date
third_party_settings:
field_group:
group_version:
children:
- group_disco_version_main
- group_disco_version_songs
- group_disco_version_options
label: Release
region: content
parent_name: ''
weight: 0
format_type: tabs
format_settings:
classes: ''
show_empty_fields: false
id: ''
direction: horizontal
width_breakpoint: 640
group_disco_version_main:
children:
- field_disco_master
- field_disco_catalogue_ref
- field_disco_version_format
- field_disco_main
- field_disco_label
- field_disco_publication_date
- field_disco_comment
- field_disco_sleeve
label: 'Main information'
region: content
parent_name: group_version
weight: 11
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: open
description: ''
required_fields: true
group_disco_version_options:
children:
- field_disco_discog_ref
- field_disco_promo
- field_disco_asin
- field_disco_version_territory
label: disco_version_options
region: content
parent_name: group_version
weight: 14
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
group_disco_version_songs:
children:
- field_disco_songs
label: Songs
region: content
parent_name: group_version
weight: 12
format_type: tab
format_settings:
classes: ''
show_empty_fields: false
id: ''
formatter: closed
description: ''
required_fields: true
id: node.disco_version.default
targetEntityType: node
bundle: disco_version
mode: default
content:
created:
type: datetime_timestamp
weight: 2
region: content
settings: { }
third_party_settings: { }
field_disco_asin:
type: string_textfield
weight: 9
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_disco_catalogue_ref:
type: string_textfield
weight: 11
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_disco_comment:
type: string_textarea
weight: 16
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_disco_discog_ref:
type: number
weight: 7
region: content
settings:
placeholder: ''
third_party_settings: { }
field_disco_label:
type: string_textfield
weight: 14
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_disco_main:
type: boolean_checkbox
weight: 13
region: content
settings:
display_label: true
third_party_settings: { }
field_disco_master:
type: entity_reference_autocomplete
weight: 10
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_disco_promo:
type: boolean_checkbox
weight: 8
region: content
settings:
display_label: true
third_party_settings: { }
field_disco_publication_date:
type: ymd_date_field_widget_default
weight: 15
region: content
settings: { }
third_party_settings: { }
field_disco_sleeve:
type: image_image
weight: 17
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_disco_songs:
type: entity_reference_autocomplete
weight: 14
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings:
change_labels:
add_another: 'Add another song'
field_label_overwrite: ''
field_disco_version_format:
type: entity_reference_autocomplete
weight: 12
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_disco_version_territory:
type: address_zone_default
weight: 11
region: content
settings:
show_label_field: false
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 6
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 4
region: content
settings:
display_label: true
third_party_settings: { }
revision_log:
type: hide_revision_field_log_widget
weight: 80
region: content
settings:
rows: 5
placeholder: ''
show: true
default: ''
permission_based: false
allow_user_settings: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 1
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 50
region: content
settings: { }
third_party_settings: { }
hidden:
title: true

thanks for your support.

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @badmothergoose
  • Status changed to Postponed: needs info about 1 year ago
  • 🇪🇸Spain rodrigoaguilera Barcelona

    Thanks for reporting the issue but I wasn't able to reproduce it. Added a multi reference widget with autocomplete, created a tabs group, then a tab inside, then the the autocomplete inside the tab and It was working as expected.

    Can you recreate in step by step in an environment you can share like simplytest.me or drupalpod? ideally with the standard profile, this module and field_group

  • Status changed to Closed: cannot reproduce 5 months ago
  • 🇪🇸Spain rodrigoaguilera Barcelona

    Please reopen if the issue still occurs

Production build 0.71.5 2024