Unable to save field data when field is displayed in popup field group

Created on 14 April 2022, over 2 years ago
Updated 22 August 2024, about 1 month ago

Problem/Motivation

I am facing an issue with popup field group, Field value is not getting store in node when field is being displayed in popup modal.
On closing modal complete HTML wrapper removes from the DOM.

Steps to reproduce

  1. Drupal version 9.3.9
  2. Use Gin Admin Theme
  3. Install this Popup field group module.
  4. Navigate to any Content type -> Manage form display.
  5. Click "+ Add group" button
  6. In a "Add a new group" dropdown choose "Popup" value, add some label and
  7. click "Save and continue" button
  8. Setup your popup and click "Create group" button
  9. Move added field group to needed position (among fields)
  10. Move fields to added field group
  11. Click "Save" button

Now Navigate to Add node page for the same content type for which you have configured Popup Field group
and try creating node by entering some value inside popup field group.
You will notice this node will not save if field is required because your field value is empty.

Proposed resolution

On closing Modal HTML markup element should not remove from DOM, complete modal should be in Display node mode and should be inside form.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India manishsaharan New Delhi

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024