You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
David Kavanagh edited this page Jan 15, 2015
·
2 revisions
We've decided to use a fork of the chosen widget. The code is linked to this PR (https://github.com/harvesthq/chosen/pull/166) which has been maintained over the last 3 years. The feature we needed was the ability to add a new option from user input. This fork does it nicely and didn't require much additional work on our part. It supports adding our own validation before the item is added.
In 4.1, we've started using a modified version as seen in this PR (https://github.com/koenpunt/chosen/pull/48).
It adds the ability for the user to press enter to accept the new value which improves the UX.