My aim is to validate if the length of events is 0 and the length of the term is greater than 2 using the code below:
<li class="more-result" *ngIf="events?.length == 0 && term.value.length > 2">
<span class="tab-content-area-active-location">
No events found in {{selectedCountry}}
</span>
</li>
I encountered a template error in the console that says,
Unexpected closing tag "li"