Skip to content
This repository has been archived by the owner on Feb 18, 2018. It is now read-only.

2.4.0: Validations & other improvements

Compare
Choose a tag to compare
@knalli knalli released this 18 Aug 19:13
· 14 commits to master since this release
  • Add: New option creationText indicating a token will be created when using canGenerateNewSelections (643215d).
  • Improvement: Validation message for minChars.
  • Add: New configuration option maxChars, which includes corresponding validation message.
  • Add: onRenderErrorMessage hook which is responsible for rendering all validation messages. This function can be overridden via a configuration option.
  • Add: onRemoveErrorMessage hook which is responsible for removing all validation messages. This function can be overridden via a configuration option.
  • Improvement: If the option neverSubmit is used, a token could be created using ENTER (c7a79fe).