Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#5281 closed enhancement (fixed)

ComboBox/FilteringSelect autocomplete any part of string

Reported by: guest Owned by: Douglas Hays
Priority: lowest Milestone: 1.1
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

The option to make autocomplete match any part of the string would be nice. Currently only the beginning of the string is matched. In some scenarios filtering results based on any part of the searchAttr would be prefered.

I'd suggest calling the parameter autoCompleteAnywhere or autoCompleteBeginningOnly or something similar.

Change History (4)

comment:1 Changed 12 years ago by bill

Owner: set to haysmark

Seems reasonable and 0.4 had a similar option:

// searchType: String
//		Argument to data provider.
//		Specifies rule for matching typed in string w/list of available auto-completions.
//			startString - look for auto-completions that start w/the specified string.
//			subString - look for auto-completions containing the typed in string.
//			startWord - look for auto-completions where any word starts w/the typed in string.
searchType: "stringstart",,

comment:2 Changed 12 years ago by Douglas Hays

Owner: changed from haysmark to Douglas Hays

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [11913]) Fixes #5281. Added queryExpr attribute to specify a dojo.data query pattern. ${0}* = begins with. *${0}* = contains ${0} = is *${0} = ends with

comment:4 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.