I am currently working on creating my own search function with auto-complete functionality.
Search MAC:<br/>
<input type="text" ng-model="boxtext">
<tr ng-repeat="box in boxes | filter:boxtext">
<td>{{box.type}}</td>
<td>{{box.mac}}</td>
<td>{{box.serial}}</td>
</tr>
</table>
Currently, all rows from "boxes" are being printed out and then filtered when I start typing in the text field. This is causing some issues for me.
I am struggling to figure out how to print out only the rows from "boxes" that match what I have typed into the text field. Any suggestions or advice would be greatly appreciated!