Unlimited autocomplete suggestion list size always results with empty list

Created on 20 July 2021, over 3 years ago
Updated 21 May 2024, 7 months ago

Problem/Motivation

When using unlimited autocomplete suggestion list size widget shows empty list with "no results found" message

Steps to reproduce

Set the limit to 0

Proposed resolution

Drupal\select2\EntityAutocompleteMatcher does not respect the limit and slices results array. Add a condition to the array_slice to be used only when limit is greater than 0.

πŸ› Bug report
Status

Fixed

Version

1.13

Component

Field widgets

Created by

πŸ‡΅πŸ‡±Poland quex

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024