HexagonJS
Tag Input Changelog
1.17.0
hx.TagInputextendsEventEmitter
Bugfix
#405
Fixed an issue where [object Object] would be displayed when using object items in an autocomplete within the tag input.
1.13.0
Bugfix
#406
Fixed the order the events are fired in.
Bugfix
#410
Fixed the event type of the 'add tag' event when added by a user
1.8.0
hx.TagInputextendsEventEmitter
Bugfix
#203
Updated the tag input so that the validator behaves the same regardless of whether it is inside a form
Bugfix
#313
Fixed an issue where using an autocomplete allowed multiple tags to be entered at once
1.6.0
hx.TagInputoptionsObject
options
autocompleteDataArray / Function
Added
#194
The data to use as suggestions for the tag input. Data can be specified as an array of items or as a function that returns an array of items.
See
By default, no autocompletion is provided.
hx.TagInputoptionsObject
options
autocompleteOptions
Added
#194
Special options to be passed to the autocomplete. See the Autocompleteconstructor for the available options.
hx.TagInputoptionsObject
options
excludeTagsBoolean
Added
#194
Determines whether existing tags should be excluded from the autocompletion.
hx.TagInputoptionsObject
options
mustMatchAutocompleteBoolean
Added
#194
Determines whether the TagInput should only allow inputs that come from the autocomplete (if defined). Be default true.
1.5.1
Bugfix
#264
Updated the tag input to correctly handle undefined values
1.4.0
hx.TagInputoptionsObject
options
placeholder
Added
#211
The placeholder for the input field when it has no text
1.3.0
Bugfix
#202
Make it so the tag inoput validator doesn't have to return anything for valid tags
1.0.0
hx.TagInputextendsEventEmitter
Updated
Updated the tag input to add the text in the field as a tag when clearing focus
hx.TagInputoptionsObject
options
draggableBoolean
Added
Added the option to allow the tags to be re-ordered by dragging them
hx.TagInputoptionsObject
options
Added
The array of tags to initialise the tag input with.
Bugfix
Added the items option to further standardise the API
hx-tag
hx-compliment
Removed
Use .hx-complement instead
hx-tag
hx-action
Added
Added new action context class and updated default styles.
hx.tagInputSelection
Added
Fluid api version of TagInput
0.15.2
hx.TagInputoptionsObject
options
disabledBoolean
Added
Added the ability to disable a tag input in the options
hx.TagInput
disabledTagInput
Added
Added the ability to disable/enable a tag input
hx.TagInput
disabledBoolean
Added
Added the ability to get the disabled state of a tag input
0.14.0
hx.TagInput
Removed
Use hx.TagInput(selector, options) instead.
hx.TagInput
Removed
Use hx.TagInput.items() instead.
0.13.0
hx.TagInput
Deprecated
Use hx.TagInput(selector, options) instead.
hx.TagInput
Deprecated
Use hx.TagInput.items() instead.
hx.TagInput
Added
hx.TagInput
itemsTagInput
Added
A method for setting the tags
hx.TagInput
Added
A method for getting the tags
0.12.0
hx.TagInput
removeAllArray[String]
Removed
0.11.0
hx.TagInputextendsEventEmitter
Bugfix
Removed the dependency on input groups and made the styles tag-input specific.
hx.TagInput
removeAllArray[String]
Deprecated
Use remove() instead.
hx.TagInput
removeArray[String]
Added
Removes all tags from the input. Returns an array of the tags removed.
0.10.0
hx-tag
Updated
Removed module-specific classes in favor of generic classes
hx-tag
hx-light
Removed
hx-tag
hx-dark
Removed
hx-tag
hx-color-[n]
Removed
0.9.0
hx-tag
hx-light
Deprecated
Use hx-compliment instead.
hx-tag
hx-dark
Deprecated
Use hx-contrast instead.
hx-tag
hx-color-[n]
Deprecated
All numbered color classes will be removed in a later version.Use the context classes instead.