Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 05/20/2013
Components: AJAX
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final / 286393,286464
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Mac All
Vote Count: 0
I've got a static list of data delimited by a pipe. According to the docs for cfinput/autosuggest, I can make this work by using the delimiter argument. So consider this:
<cfset q = queryNew("name","varchar", [{name:"Camden,Raymond"},{name:"Smith,John"}])>
<cfdump var="#q#">
<cfoutput>#valueList(q.name, "|")#</cfoutput>
<cfform>
<cfinput name="foo" autosuggest='#valueList(q.name, "|")#' delimiter="|" autosuggestminlength="1" maxresultsdisplayed="100" />
</cfform>
When executed, if I type "C" I get an auto complete for C. Not Camden, Raymond, just C.
If you view source, it is easy to seew why:
_cf_autosuggestarray="|C|a|m|d|e|n|,|R|a|y|m|o|n|d|||S|m|i|t|h|,|J|o|h|n".split("|");
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3563690
External Customer Info:
External Company:
External Customer Name: cfjedimaster
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: