Closed b4rtt closed 4 weeks ago
Is somehow possible ignore searching in specific attributes? For example I want to ignore ID. When I write to textbox "112", it founds both objects, but it should get only object ID 2. It should search only in "name" attribute. ID should be ignored.
public continents = [{ id: 112, name: 'Asia', }, { id: 2, name: '112 Africa', } ];
Is somehow possible ignore searching in specific attributes? For example I want to ignore ID. When I write to textbox "112", it founds both objects, but it should get only object ID 2. It should search only in "name" attribute. ID should be ignored.
public continents = [{ id: 112, name: 'Asia', }, { id: 2, name: '112 Africa', } ];