Problem

As WebformHandler should support Ajax callbacks. While working on #2854021: Send email based on element options selection, I ran into major issue with #ajax within handler's configuration form.

Solution

Build a 'test_ajax' handler. (\Drupal\webform_test_handler\Plugin\WebformHandler\TestAjaxWebformHandler)

Tasks

  • Setup handler
  • Test entity type to fields mapping.
  • Test add and remove.
  • Setup basic mapping example.

References

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrockowitz created an issue. See original summary.

  • jrockowitz committed 4c32d7b on 2860434-test-ajax
    Issue #2860434: Create Test Ajax Submission Handler.
    

  • jrockowitz committed 8ae2bb1 on 2860434-test-ajax
    Issue #2860434: Create Test Ajax Submission Handler.
    

  • jrockowitz committed 2d7662e on 2860434-test-ajax
    Issue #2860434: Create Test Ajax Submission Handler.
    

  • jrockowitz committed 449d43b on 2860434-test-ajax
    Issue #2860434: Create Test Ajax Submission Handler.
    
jrockowitz’s picture

Status: Active » Needs review
FileSize
7.31 KB

  • jrockowitz committed 365aade on 8.x-5.x
    Issue #2860434 by jrockowitz: Create Test Ajax Submission Handler
    
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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