Skip to content

0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@rvighne rvighne released this 17 Aug 01:45
· 2 commits to master since this 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 encouraged
    • getTags returns a copy of the tags array
    • change event no longer gets a reference to the tags array as an argument. See the above point. This is a breaking change!