0

I have a ng-repeater and a textbox which filters this repeater. I want the filter to happen as you type at the moment it works when you press enter or tab off the search textbox. I thought this was the default behavior but it does not seem to work, not sure if there is a browser setting or something?

The code is as follows

<input type="text" ng-model="vm.filterText" />
<div ng-repeat="product in vm.products | filter: vm.filterText">

Where vm is my bound view model

MicroMan
  • 1,988
  • 4
  • 32
  • 58

0 Answers0