diff --git a/README.md b/README.md index 85c3af1..6f429b3 100644 --- a/README.md +++ b/README.md @@ -67,13 +67,6 @@ A lightweight, configurable select box/text input plugin. Similar to Select2 and flippedState: 'is-flipped', loadingState: 'is-loading', }, - sortFunction: (a, b) => { - const labelA = (a.label || a.value).toLowerCase(); - const labelB = (b.label || b.value).toLowerCase(); - if (labelA < labelB) return -1; - if (labelA > labelB) return 1; - return 0; - }, callbackOnInit: () => {}, callbackOnAddItem: (id, value, passedInput) => {}, callbackOnRemoveItem: (id, value, passedInput) => {}, diff --git a/index.html b/index.html index 07fd312..e565040 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@

Choices

A lightweight, configurable select box/text input plugin. Similar to Select2 and Selectize but without the jQuery dependency.

-

For all config options, visit https://github.com/jshjohnson/Choices

+

For all config options, visit the GitHub repo.

Text inputs