0.2.0
Pre-release
Pre-release
- Many improvements to the default theme stylesheet
- Uses the parent element's font for the tag input
- Fixed an issue regarding text wrapping of the tags and input (#2)
- Tag input element now grows proportionally to the text entered (#1)
- Some browsers do not implement this perfectly (Firefox, Edge), so very long strings will still require a little scrolling
- New option:
maxTagLen
limits the maximum allowable tag size; off by default - New event:
reject-tag
is fired when a tag cannot be added for whatever reason (e.g. not matching the regular expression, too long, blank, duplicate, max tag count is already reached, etc.) - API improvement: Accessing the
tags
internal property is no longer encouragedgetTags
returns a copy of the tags arraychange
event no longer gets a reference to the tags array as an argument. See the above point. This is a breaking change!