Update the field on the front end if there were no values added before (Form in popup)

Created on 9 August 2024, 3 months ago

Problem/Motivation

When you are using the "Form in popup" the field on the front end is not updated (refreshed), because the .field element doesn't exist. Therefore the AJAX AppendCommand can't replace anything.

Steps to reproduce

  • Use the "Form in popup".
  • Add a new value to the field.
  • After submitting the form in the modal window, the front end field is not updated.

Proposed resolution

If there is no value added to the field, append the <div class="field"></div> to the .editablefields-popup element.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇸🇮Slovenia joco_sp

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