Skip to main content

Search and Top Navigation

#8379 closed bug (notabug)

Opened June 03, 2012 07:25PM UTC

Closed June 04, 2012 12:54PM UTC

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'.

Attachments (0)
Change History (2)

Changed June 03, 2012 07:35PM UTC by perry comment:1

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

Changed June 04, 2012 12:54PM UTC by scottgonzalez comment:2

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.