Opened 7 years ago

Closed 7 years ago

#8379 closed bug (notabug)

minlength not working on multiple selections after the first.

Reported by: perry Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:

Description

using the multiple values type setup for autocomplete. example at http://jsfiddle.net/wbQZU/4/.

If minlength is set above 1, (I am using 3) the first autocomplete correctly requires a minimum of three letters before showing the selections. For a second (or any further) itteration, the minimum does not apply with selections being produced on the first letter entered.

Expectedbehavior is for the minlength to apply to each autocomplete 'search'.

Change History (2)

comment:1 Changed 7 years ago by perry

Sorry, correct jsfiddle is http://jsfiddle.net/LillyPad/THG58/3/

comment:2 Changed 7 years ago by Scott González

Resolution: invalid
Status: newclosed

Autocomplete doesn't have any concept of multiple words. That's purely a demo that we built showing a minimal implementation. It's up to you to create a full implementation if that's what you need. You can also search for existing solutions.

Note: See TracTickets for help on using tickets.