Meteor: md-autocomplete with reactive helper
<p>When I use md-autocomplete, the filter is applied to the second last keypress and not to the current one. I tried different options for filtering but I'm stuck and don't know how to integrate my Meteor collection with md-autocomplete.</p>

<p>In my controller component, I have the filter logic implemented like this:</p>

<pre><code>this.searchText = '';
this.subscribe('people');

this.helpers({
    people() {
        return People.find({
            name: {
                $regex: `${this.getReactively('searchText')}.*`,
                $options: 'i'
            }
        });
    }
});
</code></pre>

<p>my template looks this way:</p>

<pre><code>&lt;md-autocomplete
    md-selected-item="ctrl.selectedItem"
    md-search-text="ctrl.searchText"
    md-items="person in ctrl.people"
    md-item-text="person.name"
    md-min-length="0"
    placeholder="Who should be selected?"&gt;
  &lt;md-item-template&gt;
    &lt;span md-highlight-text="ctrl.searchText" md-highlight-flags="^i"&gt;{{person.name}}&lt;/span&gt;
  &lt;/md-item-template&gt;
  &lt;md-not-found&gt;
    Nobody found matching "{{ctrl.searchText}}".
  &lt;/md-not-found&gt;
&lt;/md-autocomplete&gt;
</code></pre>

<p>The filter works beside the problem, that the last key ob my searchText is not applied to filter the list.</p>

<p>Example: I have the people "Till", "Tony" and "Andy" in my collection. when I type "T", nothing is filtered out at all, but the T from Till and Tony is highlighted correctly on my list.
When I type "Ti", Till and Tony stay in the list and Andy is filtered out. The "Ti" of Till is highlighted. So the highlight works as expected, but the filter does not apply to the last letter I typed.</p>

<p>I would be glad for some hints, how to apply my searchText correctly to md-autocomplete. I was searching for my mistake for hours now, without success.</p>