This project is read-only.

autoCompleteFirstMatch demo doesn't allow spaces



chrome, os x

I try to type "united states" into the box. When I get to the space the selected text always resets to before the space after I type it. So I can't type past the space in 'united states' and am left with "united arab emerites" in, unable to filter further.

file attachments


olegbraun wrote Apr 17, 2014 at 1:49 AM

here is some changes to the original jquery.flexbox.js
it will allow for spaces with "autoCompleteFirstMatch" option.

It manually add white space and not changing actual hidden value.
Also had to add check for backspace, when deleting inside selection.
This is only raw solution with maybe not so good coding. Use at own risk.