When you look for members, the number of results is fixed at 10 by this line:

const AUTOCOMPLETE_COUNT = 10;

The user should be able to change the number of results. The core will support this feature soon, maybe we can reuse it somehow.

Hardcoded result size limit in the entity reference autocomplete widget.

Command icon 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

phjou created an issue. See original summary.

phjou’s picture

Issue summary: View changes
phjou’s picture

The core has fixed the issue on 8.8, we can try to get this working now.
Should we start a 8.x-3.x branch since we will intoduce a dependency on core 8.8?

panchuk’s picture

Assigned: Unassigned » panchuk
Issue tags: +LutskGCW22

panchuk’s picture

Assigned: panchuk » Unassigned
Status: Active » Needs review
artem_sylchuk’s picture

Status: Needs review » Needs work
panchuk’s picture

Status: Needs work » Needs review

  • artem_sylchuk committed afe0a66 on 3.0.x authored by Panchuk
    Issue #3050359 by Panchuk, phjou, artem_sylchuk: The number of results...
artem_sylchuk’s picture

Status: Needs review » Fixed

Looks good, merged.
However would love to see tests for this.

Status: Fixed » Closed (fixed)

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