code: function TagsMaterialize(element, options)
      {
          this.itemsArray = [];
  
          this.$element = $(element);
          this.$element.hide();
  
          this.objectItems    = options && options.itemValue;
          this.placeholderText = element.hasAttribute('placeholder') ? this.$element.attr('placeholder') : '';
          this.inputSize      = Math.max(1, this.placeholderText.length);
  
          this.$container = $('<div class="materialize-tags"></div>');
          this.$input    = $('<input type="text" class="n-tag"  placeholder="' + this.placeholderText + '"/>').appendTo(this.$container);
          this.$label    = this.$element.parent().find('label');
  
          this.$element.before(this.$container);
          this.build(options);
  
          this.$label.on('click', function ()
          {
              $(this).addClass('active');
              $(this).addClass('infocus');
              $(this).next('.materialize-tags').find('input.n-tag').focus();
          });
  
          this.$input.on('focus', function ()
          {
              var label = $(this).parents('.materialize-tags').parent().find('label');
              $(this).parents('.materialize-tags').addClass('active');
   +            !label.hasClass('infocus') && label.addClass('infocus');
  
              if (!label.hasClass('active'))
              {
                  label.addClass('active');
              }
          }).on('focusout', function ()
          {
              var parentContainer = $(this).parents('.materialize-tags'),
                  tags            = parentContainer.find('span.chip');
              parentContainer.removeClass('active');
   +          parentContainer.parent().find('label').removeClass('infocus');
              // Verify if is empty and remove "active" class from label
              if (tags.length == 0 && $(this).val().length == 0)
              {
                  parentContainer.parent().find('label').removeClass('active');
              }
          });
      }
docs: Constructor function
  
  @param element
  @param options
  @constructor