emposha / FCBKcomplete

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

filter group option version 2 #96

Closed lmor closed 12 years ago

lmor commented 12 years ago

filtergroup option

Prevents users from selecting an item from a select if it already selected in an autocomplete that is in the same group. Feature is an extension of filtered_selected and only works if filteredselected is set to true. commit - 70f9e95 test lm_test.html (commit 4173a49)

emposha commented 12 years ago

not sure if this one needed

lmor commented 12 years ago

It is needed. if you have a common data and you want to filter out some elements it extremely useful. A use case for this would be: a timetable application where you are configuring schedules for every slot of time, say 8 to 10 am. you want add one or more teachers against a subject - say you have 10 subjects and 30 possible teachers. a teacher can only appear once in a given period of time (slot). so you want to remove the teacher from the selection list once she is chosen. The scenarios that it can be used are numerous. You can try out the demo and see how it is being used.

emposha commented 12 years ago

ok, thanks. Can you send pull request with latest changes?