emposha / FCBKcomplete

Jquery facebook like(fancy) multi-select
http://www.emposha.com
383 stars 115 forks source link

Prevent input after reaching maxitems limit #120

Open brabadu opened 12 years ago

brabadu commented 12 years ago

I've set maxitems number to 1. When I enter first element and it turns to brick focus stays in the fcbkcomplete input and you still can type text there.

I think expected behavior should be preventing any text input after reaching maxitems limit except backspace to delete existing elements.

RupW commented 12 years ago

This confused me with the online demo too - it's not obvious it's set to maxItems: 2 so I thought it was broken when the third item didn't autocomplete.