Angular filter table using custom pipe upon button click
问题 I have a table which I successfully filter using a custom pipe. The filter is based on two inputs which are together a form. The functionality I want to add is for the filtering not to happen until a submit button is clicked. So it's more like a search button. I've found plenty of information on pipes, but nothing about activating them upon button clicks. mainpage.component.html: <div> <label>Start Date:</label> <input type="text" [(ngModel)]="startDateValue"> </div> <label>End Date:</label>