Links from validation message don't point to proper fields under horizontal tabs

Created on 23 May 2023, over 1 year ago

Problem/Motivation

Using Horizontal tabs, it's not doable to use links with field names from Error messages (image attached) list to point to the non-valid fields.

Steps to reproduce

  • Under /admin/structure/types/manage/name_of_your_content_type/form-display create new field group Tabs
  • Choose 'Horizontal' for direction
  • Add at least two tabs with some required fields inside
  • Save
  • Go to your content type where horizontal tabs are added
  • Submit your node form without values for required fields
  • Validation message should appear with non-working field names as links

Proposed resolution

I tried several patches related to Field Group module such as:

But nothing brought me result, so I created my own one, attached in comment #1.

Field Group module version: 3.4
Drupal core version: 9.5.9
Admin theme: Claro

๐Ÿ› Bug report
Status

Active

Version

3.4

Component

Code

Created by

๐Ÿ‡ท๐Ÿ‡ธSerbia ratvas Novi Sad

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