Problem/Motivation

1. Setup a new Autocomplete and set the "allowed number of values" to "1"
2. Type "Pine, Apple, P"

EXPECTED:
Matching tags with text "Pine, Apple, P", for example:
`Pine, Apple, Pine Apple Pen`
`Pine, Apple, Pen`

RESULT:
`Pen`
`Peter`

Proposed resolution

Always search full text in Autocomplete input

Remaining tasks

- Fix it to search full text on Autocomplete input
- Selection on Autocomplete should replce old tag

User interface changes

- TBA

API changes

- TBA

Data model changes

- TBA

Comments

droplet created an issue. See original summary.

droplet’s picture

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

dpi’s picture

Component: entity_reference.module » field system
Category: Task » Feature request
Issue tags: +entity reference field

So effectively the results should not explode terms if cardinality==1. Should search literally what the user typed.

Moving out of er.module since its in core itself.