This repository has been archived by the owner on Feb 18, 2018. It is now read-only.
2.4.0: Validations & other improvements
- Add: New option
creationText
indicating a token will be created when usingcanGenerateNewSelections
(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 usingENTER
(c7a79fe).