- Remove
less
dependency - Remove
clean-css
dependency - Fix
package.json
typo
- New repository
- New repository
- Update: Support for
hidden
options (didn't get queried).- Thanks to #67.
- Update: Differentiate .disabled and .hover colors.
- Bugfix: Typo in
searchConfig
option key. - Bugfix: Using
this.rebuild
instead ofrebuild
in the.config()
method. - Bugfix: Using the olf method
._replaceTypo
on the.invert()
method (options class). - Bugfix: The
.query()
method doesn't handle false as item return [ES6 only]. - Bugfix: Missing minified JavaScript files.
- Thanks to #77.
- Bugfix: Some Less styling issues.
- Bugfix: Bootstrap 4 Theme Icon Issue in Chrome.
- Thanks to #82.
- Add: The new public method
.value()
to get the current selected option value(s). - Add: Allow to change the minimum search length with the new
searchMinLength
option.- Thanks to #60.
- Add: A new public
.applyLinguisticRules()
method on the options class.- Thanks to #63.
- Update: A new search function, configurable with
searchConfig
.- Thanks to #63.
- Update: Using window on the main factory function (required for Webpack / VueJS).
- Update: The internal helper methods
cHAS()
,cADD()
andcREM()
. - Bugfix: The helper method
clone()
use an IE-unsupported function calledObject.assign
. - Update: The translations
actionAll
andactionNone
has been removed completely. - Update: Select the latest added option on single select fields.
- Bugfix: The
.scrollBy()
function isn't available in IE10+.- Thanks to #56.
- Bugfix: Up-Arrow doesn't work when last option is disabled.
- Thanks to #66.
- Bugfix: Adding a selected option doesn't work.
- Bugfix: Escaping bad characters for search RegExp.
- Add: A new node.js script to compile the Less files.
- Add: Minified Stylesheets and Source Maps (for both types).
- Update: The complete Less stylesheet structure.
- Update: A few design changes on all designs.
- Update: Each single CSS color scheme contains now the complete styles instead of "imports".
- Update: The
dropdown-actions
container has been moved over the search field. - Update: The
All
andNone
buttons are only visible on hover of the respective optgroup. - Update: Change the color of selected items.
- Update: Bootstrap* - Change table-structured label into
display: inline-block;
s. - Update: Bootstrap2 - The new
funky
(Pink) andmystery
(Purple) bootstrap2 color schemes. - Update: Bootstrap3 - Line-Through on disabled options.
- Update: Bootstrap4 - The new
default
(White) and the movedsecondary
(Grey) schemes. - Update: Bootstrap4 - The new color schemes
funky
.myster
,indigo
,teal
andorange
. - Remove: All obsolete (not required)
-o-
and-moz-
vendor-prefixed CSS properties. - Bugfix: Flickering outline on focus (Google Chrome).
- Thanks to #51.
- Bugfix: Too long values destroy label.
- Thanks to #51.
- Bugfix: Enabled user selection on the select elements.
- Thanks to #51.
- Info: This is the first version, which drops IE 9 support!
- Add: Support for module exporting, tested with browserify.
- Add: New german linguistic rules for
ä
,ö
,ü
andß
. - Add: The new
browser
package variable pointing tojs/tail.select-full.js
. - Update: Using
classList
to add / remove / check class names. - Update: Using
Object.assign
only to merge / clone object properties. - Rename: The internal
tailSelect
variable has been renamed intoselect
. - Rename: The internal
tailOptions
variable has been renamed intooptions
. - Remove: Support for Internet Explorer 9.
- Bugfix: Add correct file to the
main
bower variable. - Bugfix: Add correct file to the
jsdelivr
package variable.
- Add: Missing
searchDisabled
default option within the storage. - Update: Use internal
select
(formertailSelect
) variable as constant. - Update: Use internal
options
(formertailOptions
) variable as constant. - Update: Use global
w
andd
variables as constants.
- Add: The new Turkish Translation.
- Thanks to #48.
- Add: Support for
tabindex
(using Tab to move from input field to input field).- Thanks to #47.
- Add: Key-Support for Space to open the current focused select field.
- Bugfix: Replace classnames with an Space to prevent missing space between class names.
- Add: The new Spanish Translation.
- Thanks to #41.
- Add: The new experimental
linguisticRules
options, which allows to regex letters, which are (used) similiar.- Thanks to (#42).
- Update: ES6 Changed the last
var
variables intolet
.
- Add: The new Russian Translation.
- Thanks to #38.
- Add: Allow callback functions as strings to allow a deeper translation.
- Add: The new internal method
_e
, which handles the translations. - Bugfix: Invalid
bower.json
file.
- Info: It isn't longer possible to get an option using the internal option number!
- Add: The new Finnish Translation.
- Thanks to #35.
- Remove: The internal-Array storage has been completely removed.
- Bugfix: The
.remove()
method on the options hasn't worked on the internal-Array storage. - Bugfix: The ECMAScript 6 Version returns an Array, while the default version does not.
- Bugfix: TypeError: Cannot convert undefined or null to object.
- Thanks To #32.
- Bugfix: Remove default options sorting.
- Thanks To #37.
- Add: The new Brazilian Portuguese Translation.
- Thanks to #34.
- Update: the
bower.json
andpackage.json
files - Update: Add 2019 to all Copyright notes.
- Add: The new
searchDisabled
option, which allows to exclude disabled options on the search. - Update: The
.finder()
method depends now on the.find()
method. - Bugfix: Wrong Version Number on the main object.
- Bugfix: Options floats over the dropdown field.
- Thanks to #28.
- Bugfix: Terrible performance of search when descriptions included.
- Thanks to #27.
- Bugfix: Search functionality hangs exponentially when regular expression matches against larger
source options.
- Thanks to #25.
- Add: The new
modify()
method on the string Storage to change the strings globally.- Thanks to #20.
- Update: The
.register()
method checks now if locale is a string and object a object. - Update: The
.register()
method returns nowtrue
on success andfalse
on failure. - Bugfix: ES6 The "Select All" Button doesn't work on Search (All options gets selected).
- Bugfix: Z-Index CSS Styling bug (:hover).
- Thanks to: #19.
- Bugfix: Unnecessary Scrollbar (during a wrong calculation of the dropdown field).
- Thanks to: #19.
- Bugfix: "Select All" Button selects more items as shown on search results.
- Thanks to #21.
- Bugfix: Search functionality breaks when source select's options contain hyphenated attributes.
- Thanks to #23.
- Add: The new
.walk()
method on the tailOptions class to "loop" multiple items. - Add: The new internal variable
_query
for the current query. - Update: Changed the RegExp
\b
, because it isn't accurate enough. - Update: The complete
sourceBind
listener function has been renewed / fixed. - Update: The
.enable()
and.disable()
methods allows now a single parameter, which controls the new rendering if the respective DOM Elements. - Update: Support also [{ key: <>, [...] }] array objects.
- Remove: Unused variable
_pos
. - Bugfix: The "(Un)Select All" buttons were not limited to the current query!
- Bugfix: The
.en/disable()
methods doesn't sets the configuration correctly. - Bugfix: The
description
property on theitems
option is required.- Thanks to #15.
- Bugfix: Only the last item gets unchecked after pressing "Unselect All" on specific conditions.
- Thanks to #16.
- Bugfix: When the
sourceBind
option istrue
, the dropdown becomes unusable.- Thanks to #17.
- Bugfix: Throws
TypeError
on "(Un)Select All" buttons on Search Queries.- Thanks to #18.
- Bugfix: Wrong
.en/disable()
and.config(disabled, true|false)
order.- Thanks to #12.
- Hotfix: Trigger hasn't triggered on each call!
- Hotfix: Wrong If-Condition for
sourceHide
. - Hotfix: Wrong attribute assignment on the tail.select field for
sourceHide
.
- Info: The ES6 Edition is just a "REALLY experimental" version.
- Info: The Priority has changed: Defined Settings > Element Attributes.
- Add: The new French Translation.
- Thanks to #11.
- Add: The origin select fields gets now also triggered on any
change
/input
event.- Thanks to #10.
- Add: Three new designs "Bootstrap2", "Bootstrap3" and "Bootstrap4" (+ Multiple Color Schemes).
- Add: A IE incompatible, highly modern ECMAScript 2015 (6) edition (as *-es6.js).
- Add: The new script version
tail.select-full(.min).js
, which contains also all language strings. - Add: The new additional file
langs/tail.select-all(.min).js
which contains all language strings. - Add: Key Listener: Use the Arrow Keys (Down, Up) to scroll through the opened dropdown list.
- Add: Key Listener: Use the Enter / Return Key to "click" on the focused option.
- Add: Key Listener: Use the Escape Key to close the dropdown list.
- Add: The new helper method
create()
. - Add: The new option
locale
, to change the shown language strings. - Add: The new option
disabled
, which disables the complete tail.select instance. - Add: The new option
multiShowLimit
, which shows the max. number of selectable options. - Add: The new option
sourceBind
andsourceHide
replaces the deprecated methodsbindSourceSelect
andhideSelect
respectively. - Add: The new callback option
cbComplete
, which fires when the tail.select instance has been completely rendered. - Add: The new option
multiPinSelected
, which "pins" selected options to the top of the dropdown list. - Add: The new public methods
enable()
anddisable()
to en/dis -able the complete field.- Thanks to #12.
- Add: The new tailOptions methods
.select()
,.unselect()
,.enable()
and.disable()
. - Add: The new tailOptions methods
.toggle()
,.invert()
and.all()
. - Add: The new tailOptions methods
.move()
to change the optgroup of an option. - Update: The helper methods.
- Update: The
sourceBind
event listener has been optimized and renewed. - Update: The
tailOptions
class is now an ArrayLike object. - Update: The settings are higher ranked then the select attributes.
- Update: Switched from SASS (SCSS) to LESS.
- Update: Language Files and Locale / Translation System.
- Update: The new language files are now compatible with AMD.
- Update: Many design changes on the default and modern theme.
- Update: Some Changes on the main RegExp on the search function.
- Thanks to You've been Haacked.
- Update: The tail.select container will be inserted AFTER the source select field.
- Update: Check the source select field stylings.
- Update: A new animation flow, using
setTimeout()
. - Update: The
bind()
method binds global events only and gets called by the constructor. - Update: The internal
_replaceTypo
method has been renamed into_r
. - Update: The internal
build()
method has been replaced by the API methodquery()
. - Update: Remove the
name
attribute on the source select field when usingcsvOutput
. - Update: The option
width
now also supports other length units next to "px". - Update: The option
multiContainer
allows now also "true" as value, to move selected options to the label element of the respective tail.select instance. - Update: The main callback function
cbLoopItem
can now also returnnull
to skip the item and false to "skip / escape" the complete render Loop. - Update: The public method
.config()
allows now an object as first parameter to set multiple settings at once. - Update: The public method
.config()
allows now a third parameter, which prevents the rebuilding of the selection field, if you change any option. - Update: The
update*()
API methods replaces allset*()
API methods. - Remove: The
tail.animate()
helper function. - Remove: The
bindSourceSelect
andhideSelect
options has been replaced. - Remove: The
.walk()
method has been removed (usewalker()
instead). - Remove: The
.build()
method has been removed (usequery()
instead). - Remove: The
.choose()
method has been removed (use the tail options API instead). - Bugfix: The
placeholder
attribute is used with.getAttribute()
, because its invalid HTML 5. - Bugfix: The custom group sorting hasn't worked due to an faulty statement.
- Bugfix: The HTML option structure was invalid (
ul ul li
instead oful li ul li
). - Bugfix: The hidden csvInput field functions didn't work on specific cases.
- Bugfix: The
clone
helper function didn't worked on the IE 9+ browsers. - Bugfix: Tags duplicated when preselected.
- Thanks to #14.
- Bugfix: Non-Source Options gets duplicated.
- Thanks to #13.
- Bugfix: The hidden csvInput field is rendered, even if the option is disabled
- Thanks to #12.
- Bugfix: The instance ignores the disabled attribute on the main source element.
- Thanks to #12.
- Bugfix: Check the visibility of the source select field.
- Thanks to #10.
- Bugfix: Search problem.
- Thanks to #8.
- Add: The new design
modern-white
as additional stylesheettail.select-modern-white.css
. - Add: The
.scss
preprocessor stylesheet(-ing) (I'm new at pre-processing, and I'm not sure if i'm using it right :/). - Update: Many design changed and optimizations.
- Bugfix: Ignoring
selected
attribute.- Thanks to #6.
- Info: First Beta Version
- Add: A custom event listener which allows more details / arguments.
- Add: The new
on()
method to use the new custom event listener. - Add: The new
config()
method to get and set configurations after init. - Add: The new
setCSVInput()
method to handle the CSV Input field. - Add: The new internal
trigger()
method which handles the events. - Add: The new default
createGroup()
andcreateItem()
callback methods. - Add: The new
cbLoopItem
andcbLoopGroup
options, which allows to use a custom callback function for the creation of options and groups within the dropdown list. - Add: The new
multiSelectAll
andmultiSelectGroup
options, which allows to (un)select all options or all options within a group! - Add: The new
walker()
function which replaceswalk()
. - Add: The additional class name
in-search
on search-results. - Update: The jQuery and MooTools Bindings.
- Update: The
init()
method ontailOptions
uses now alsoset()
. - Update: The
reload()
method uses the same instance instead of creating a new one. - Update: The
open()
,close()
andtoggle()
method accepts now one parameter, which disables the animation (if turned on). - Update: The Group will also be shown on search-results.
- Update: New strings including a new string-key structure (+ updated translations).
- Update: Assign HTML String method instead of Single Element Creation on
init()
. - Update: The default option for
height
has been changed to 350 (px) according to the newmaxHeight
JS-based setup (replaces the CSS setup). - Update: The sort callback on the
walker()
method is now called directly instead as callback within thesort()
function. - Update: The CSS design has been modified and adapted to the new features.
- Codacy: Expected '!==' and instead saw '!='. (eqeqeq).
- Codacy: Avoid assignments in operands. (At least on if).
- Codacy: 'tailOptions' was used before it was defined. (no-use-before-define).
- Codacy: 'i' is already defined. (no-redeclare)
- Rename: The internval variable
tailSelect.instances
has been renamed intotailSelect.inst
. - Bugfix: Displaying of tail.select out of viewport
- Thanks to #4.
- Bugfix: The
items
option object doesn't added a option description. - Bugfix: Don't close the dropdown list, when playing with the
multiContainer
element. - Bugfix: Already selected items can be selected again.
- Bugfix: Load Items into the
multiContainer
andcsvInput
field on soft reloads. - Deprecated: The
walk()
function has been marked as deprecated and gets removed in the future.
- Hotfix: Mismatching / Faulty Search Regex on different HTML conditions.
- Update: Change for loop expression.
- Codacy: 'ev' is already defined. (no-redeclare).
- Codacy: 'ev' used outside of binding context. (block-scoped-var).
- Bugfix: Constructor Instance check.
- Bugfix: Wrong Version Number.
- Hotfix: Searching when data-description containes > char
- Thanks to #2.
- Info: I don't understand why some JS window/DOM-depended libraries exports their library to
nodeJS using
module.exports
, so I'll just offer AMD only for the moment! - Add: The options
csvOutput
andcsvSeparator
as well as a hidden CSV input method. - Add: Support as Asynchronous Module Definition, tested with requireJS (I'm new with AMD).
- Update: The
animate
option is now set totrue
per default! - Update: Correct use of the labels / placeholders.
- Update: The string-keys (+ the german translation).
- Bugfix: Escape RegExp Characters in Search string.
- Hotfix: Nothing can be selected anymore when using the search function
- Thanks to #1.
- Add: jQuery bindings, tested with jQuery v.1.12.4 only!
- Add: MooTools bindings, text with MooTools 1.5.2 only!
- Update: The helper method
animate()
is now backward compatible with IE >= 9. - Update: Add
Object.assign
check directly to theclone()
method. - Codacy: Avoid assignments in operands.
- Codacy: Use ===/!== to compare with true/false or Numbers.
- Codacy: Always provide a base when using parseInt() functions.
- Codacy: Unsafe assignment to innerHTML.
- Codacy: Move the invocation into the parens that contain the function.
- Bugfix: Wrong key assignment on the helper method
clone()
. - Bugfix: The
searchFocus
option doesn't work on animated dropdown elements! - Bugfix: Wrong return variable on the mein IIFE function wrapper.
- Info: Official support for IE >= 9 starts now :(
- Add: New
clone()
helper function as Fallback for IE >= 9. - Add: New
.IE
helper variable for Fallback use for IE >= 9. - Bugfix: Almost complete IE >= 9 support, except the
animate
option.
- Info: The complete script has been re-written from scratch and doesn't depend on jQuery anymore!
- Info: The default design uses vectors from GitHubs Octicons.
- Info: The minified version is compressed with jsCompress.
- Add: A search function / field within the dropdown area, which is partly still in a test phase.
- Add: A complete new interface and a complete new design (including a new demonstration).
- Add: The tail helper methods:
hasClass()
,addClass()
,removeClass()
,trigger()
andanimate()
. - Add: The
tailSelect
prototype class handles all tail.select elements and the communication between the user and the elements as well as between thetailOptions
class. - Add: The
tailOptions
prototyping class, which manages the original options and items. This new class is only responsible for the main item object collections as well as the original select field. The tail.select elements are handled by the maintailSelect
class only! - Add: A
search
,searchFocus
andsearchMarked
option to configure the new search feature. - Add: The new
bindSourceSelect
option, which allows to still use the source select field. - Add: The new
hideSelect
option to hide the source select field. - Add: The new
stayOpen
andstartOpen
option to manipulate the dropdown field. - Add: The new
items
option to add some additional options during the initialization, the new structure allows you to add and remove options also during the runtime. Use therefore the methods of thetailOptions
prototype class. - Add: The new
sortItems
andsortGroups
options, to sort the order of the options and the option groups in the dropdown field. - Add: The new
animate
andopenAbove
methods to control the dropdown behavior. - Add: The new strings
searchField
,searchEmpty
, andselectLimit
has been added. - Add: A german locale file.
- Update: The events has been changed into 'tail.select::open', 'tail.select::close', and 'tail.select::{state}'
- Update: The complete HTML / ClassNames and CSS structure has been changed.
- Update: The
copy_class
option has been renamed intoclassNames
and allows now also a string as well as an array parameter. (You can still usetrue
to copy the class names from the source select field.) - Update: The
single_deselect
option has been renamed intodeselect
, the behavior is the same. - Update: The
multi_limit
option has been renamed intomultiLimit
and requires now-1
as parameter to enable the "unlimited" selection option (-1 is the default option!). - Update: The
multi_show_count
option has been renamed intomultiShowCount
, the behavior is the same. - Update: The
multi_move_to
option has been renamed intomultiContainer
and does now ONLY offer the possibility to "move" the selected options (in the form of handles) into the (with an plain selector linked) container. The possibility to "move" selected options to the top of the dropdown list has been removed! - Update: The
multi_hide_selected
option has been renamed intohideSelected
and doesn't require a multiple select field anymore, the rest of the behavior is the same. - Update: The
description
option has been renamed intodescriptions
, the behavior is the same. - Update: The
hide_disabled
option has been renamed intohideDisabled
, the behavior is almost the same, except thathideDisabled
andhideSelected
just add a new CSS class name to the main tail.select element. - Update: The
width
option keeps his name, but allows now 'auto' (to calculate the width from the source select element) andnull
, to set no width at all (default). - Update: The
height
option keeps his name, but allows now alsonull
to set no maxHeight at all (which is also the default, it's may better to handle this with pure CSS). - Update: The string options
text_empty
,text_limit
andtext_placeholder
has been moved to and own core object, which is accessible through thetail.select.strings
variable. - Remove: The jQuery support has been completely removed.
- Remove: The jQuery
mousewheel
plugin has been removed. - Remove: The option and functionality behind
hide_on_mobile
andhide_on_supported
has been completely removed. There will be probably no substitute for this. - Remove: The feather icons has been replaced with the GitHub Octicons.
- Info: Tested with and Includes now jQuery 1.4.0, 1.6.0 and 1.11.2.
- Add: (option) Specify a width.
- Add: (option) Auto-Disable on Mobile browsers.
- Add: (option) Auto-Disable on Unsupported browsers.
- Add: (option) Take class names from select fields.
- Add: 4 other functions: reload, open, close and remove.
- Add: Extended Class Names for each tail.Select status.
- Add: Prevent multi-selections on single select fields.
- Add: Open the select field ONLY if the left mouse button is pressed.
- Update: The tail.Select design.
- Update: The tail.Select configuration.
- Update: The tail.Select HTML structure.
- Update: Embeds now the complete Feather icon font.
- Update: Feather icons are used now only via css (+ new icons are used).
- Update: A better and bigger demonstration (./demo/index.html).
- Update: Change placeholder attribute to data-placeholder.
- Bugfix: Open above Bug.
- Bugfix: Pull-Down / Pull-Up Switch-Icon Bug.
- Bugfix: Faulty De-Selection on Single-Select fields with optgroup.
- Remove: (function) "stringArray".
- Remove: (function) "getIcon" and "switchIcon".
- Remove: (function) Some other unused functions.
- Remove: (option) "icons".
- Remove: (option) "multi_hide_selected".
- Update: Some jQuery 1.4+ Compatibility fixes.
- Update: New render function with Compatibility to jQuery 1.4+.
- Bugfix: Optgroup-Sorting Bug.
- Bugfix: Few small Bugs.
- Initial Release