title: materializecss chips onChipAdd callback not working
body: <p>I'm writing a form field using materializecss that contains <code>mat-chips</code> with the autocomplete option. The idea is to do a <code>PATCH</code> request whenever a new chip is added. Below is the code snippet I'm currently using:</p>
  
  <pre><code>$('#tag-chips').material_chip({
          autocompleteOptions: {
              data: {
                  'golang': null,
                  'docker': null,
                  'kubernetes': null
              }
          },
          onChipAdd: () =&gt; {
              console.log('tag added');
          }
      });
  </code></pre>
  
  <p>The chip field works perfectly but the callback never seems to fire up. Also there is no error message in the console either.</p>
  
  <p>I've also tried the other way to achieve this based on a few searches I did which suggested:</p>
  
  <pre><code>$('#tag-chips').on('chip.add', (event, chip) =&gt; {
          console.log(event, chip);
  });
  </code></pre>
  
  <p>But to no help.</p>