harvesthq/chosen — pull request #408 by bewest (2011-12-17 23:08:48+00:00)
Title: code reviewed: jimlindstrom, masonforest, koenpunt's patches to add user confirmed suggestions to the completion list

# Add user confirmed entry to option list

I tried several branches providing a feature to add a user
confirmed suggestion. See issue harvesthq/chosen#392, issue
harvesthq/chosen#5.

There a few differences:

## koenpunt/chosen@08068f1d7aea62958c81767fb2c5e1b05a03c1b1

* no additional attributes
* requires {create_option: true}
* also has persistent_create_option, but not sure what
it does
* target to activate feature is large, full size link.

## jimlindstrom/chosen@dd9c8c4e1e72d2091cf7b62a095d919a9e8d0abf

* uses html5 data- attributes
* requires no additional user js
* hard target to acquire - the user needs to find a rather small add icon
in order to trigger the feature.

## masonforest/chosen@b4a379acdd336b2d9ab4e14cf951272a8b4dc19d

* uses user provided callback
* The demo I checked out didn't actually add the new
values to the selected values or to the list, it only
alerted.

All three appear to do a nice job, but after reviewing all
three, if I were to pick one without somehow combining the
three, I would pick koenpunt's. If I missed someone's
branch, please let me know and I may review.