Error when adding an options element after adding the 'Options/Checkbox with number limit' handler

Created on 22 January 2025, 3 months ago

Problem/Motivation

An error is displayed when adding a first options element to your form, after adding the 'Options/Checkbox with number limit' handler:

Drupal\webform_options_limit\Plugin\WebformHandler\OptionsLimitWebformHandler::buildAjaxElementTrigger(): Argument #2 ($element) must be of type array, null given

Proposed resolution

Check if the option/number elements (still) exist in OptionsNumberLimitWebformHandler::alterForm().

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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