1
I have a boolean argument on a *ngIf, however it does not seem to work. If the argument is true:
<ion-input type="text" *ngIf="produto.fracionado" value="Sim" readonly></ion-input>
If the argument is false:
<ion-input type="text" *ngIf="!produto.fracionado" value="Não" readonly></ion-input>
However it is always returned me "Yes", even for cases of false argument.
It seems to work (https://jsbin.com/yoqufoceva/edit?html,js,output). Make sure that Angular is loaded correctly on the page?
– Woss
I am sure because the rest of the page works correctly. It was missing to say that I am using Ionic and Angular 3.1.1.
– rafaelssce
Sorry for the error, the core of Angular is 4.0.2.
– rafaelssce