1

I am using the Flexbox jQuery control. I want to configure it to only match characters at the beginning of the string, so when the user types u, I want Flexbox to suggest Uganda and United States, but not Aruba. How can I do this?

Adrift
  • 58,167
  • 12
  • 92
  • 90
Tony the Pony
  • 40,327
  • 71
  • 187
  • 281

1 Answers1

1

I need to set the matchAny configuration option to false.

(This option was introduced in FlexBox 0.9.5, but is not documented)

Tony the Pony
  • 40,327
  • 71
  • 187
  • 281
  • Dude! You are awesome. I have wasted a lot of time, but didn't find anything related to `matchAny`. Its working like a charm. Thank you! – Mohit Bhansali Feb 28 '14 at 05:33