Posted 3 June 2019, 8:56 am EST
Hello,
I am having a few issues when I try to update the condition of the next *ngIf:
<ng-container *ngIf="!estListeTropLongue; else messageListeTropLong">
<button (click)="estListeTropLongue = true"></button>
</ng-container>
<ng-template #messageListeTropLong>
<div class="message-liste-trop-long">Veuillez saisir des caractères pour lancer la recherche</div>
</ng-template>
This part of the code is inside a wijmo popup, every time that I click the button the condition evaluates to false and rapidly the else statement appears and then the popup closes.
If I create the button outside the ng-container(still inside wijmo popup) the behavior is correct.
I would be gratefull if someone can bring some light to the problem,
Thank you