Quantcast
Channel: angular 4: *ngIf with multiple conditions - Stack Overflow
Browsing latest articles
Browse All 3 View Live
↧

Answer by Günter Zöchbauer for angular 4: *ngIf with multiple conditions

Besides the redundant ) this expression will always be true because currentStatus will always match one of these two conditions:currentStatus !== 'open' || currentStatus !== 'reopen'perhaps you mean...

View Article


Answer by Toodoo for angular 4: *ngIf with multiple conditions

You got a ninja ')'.Try :<div *ngIf="currentStatus !== 'open' || currentStatus !== 'reopen'">

View Article

angular 4: *ngIf with multiple conditions

I'm confused a bit. I need to hide block if result have one of several cases. But seems it not working correctly...<div *ngIf="currentStatus !== 'open' || currentStatus !== 'reopen'"><p...

View Article
Browsing latest articles
Browse All 3 View Live