public/be-assets/node_modules/@yaireo/tagify/dist/tagify.esm.js
/**
   * re-check all invalid tags.
   * called after a tag was edited or removed
   */
re-check all invalid tags.
called after a tag was edited or removed
re - check all invalid tags . called after a tag was edited or removed
reCheckInvalidTags() {
    var _s = this.settings;
    this.getTagElms(_s.classNames.tagNotAllowed).forEach((tagElm, i) => {
      var tagData = this.tagData(tagElm),
          hasMaxTags = this.hasMaxTags(),
          tagValidation = this.validateTag(tagData); 
      if (tagValidation === true && !hasMaxTags) {
        tagData = tagData.__preInvalidData ? tagData.__preInvalidData : {
          value: tagData.value
        };
        return this.replaceTag(tagElm, tagData);
      } 
      tagElm.title = hasMaxTags || tagValidation;
    });
  }
reCheckInvalidTags ( ) { var _s = this . settings ; this . getTagElms ( _s . classNames . tagNotAllowed ) . forEach ( ( tagElm , i ) => { var tagData = this . tagData ( tagElm ) , hasMaxTags = this . hasMaxTags ( ) , tagValidation = this . validateTag ( tagData ) ; if ( tagValidation === true && ! hasMaxTags ) { tagData = tagData . __preInvalidData ? tagData . __preInvalidData : { value : tagData . value } ; return this . replaceTag ( tagElm , tagData ) ; } tagElm . title = hasMaxTags || tagValidation ; } ) ; }
re-check all invalid tags.
re - check all invalid tags .
// if the tag has become valid // if the tag is still invaild, set its title as such (reson of invalid might have changed)