Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
normalizeSuggestionItems()
handles objects inconsistently when it comes to additional properties in the items. If either label or value property doesn't exist, additional properties are not retained.
Proposed resolution
Retain additional properties even if label or value property doesn't exist.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork a11y_autocomplete-3243749
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lauriiiComment #4
nod_small nitpick in the test, otherwise looks great to me.
Comment #5
nod_Comment #6
nod_looks good
Comment #8
nod_