PluginAutocomplete form element bugs

Created on 30 July 2024, 8 months ago
Updated 19 September 2024, 7 months ago

Problem/Motivation

- PluginAutocomplete::extractPluginIdFromAutocompleteInput returns a string or null, but that result is then passed to validateReferenceablePlugins which expects an array

- This if statement does nothing:

      if ($element['#validate_reference'] === TRUE && $handler->validateReferenceablePlugins($match)) {
        $value = $match;
      }
      else {
        $value = $match;
      }
🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇪Belgium Grayle

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