Problem/Motivation

The current ajax callback replaces part of the form with new form elements. However, the new form elements are not part of the form build, and are not accepted when submitting the form.

Proposed resolution

Move ajax callback to WebformPostcodeAPI element, so the updated form elements are accepted when the form is submitted.

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

The updated form elements are accepted when the form is submitted.

API changes

None.

Data model changes

None.

Comments

idebr created an issue. See original summary.

  • 632fc8f committed on 1.x
    Issue #3184146 by idebr: Move ajax callback to WebformPostcodeAPI...
idebr’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.