- Bugfix: Search problem #8, Thansk to elPesecillo!
- 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 #6, Thanks to tomasKucera!
- 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 #4, Thanks to tomasKucera!
- 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 #2, Thanks to tomasKucera!
- 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 #1, Thanks to markteunen65!
- 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
- First Alpha Version