There is search.component.html , and search.component.ts .
In the html document, the markup of the search field with input fields, when entering in these fields, you must pass all values to search.component.ts . The question is how to implement this without cluttering the search.component.html logic.
@Component({ ... }) export class SearchComponent { myMethod() { // тут получить значения всех инпутов, // могу ли я хранить ссылки на них и тут тянуть value } } I have very little knowledge in this area, if I didn’t write or write, please indicate in the comments.