Angular 2 *ngIf statement with multiple values

This usually works fine.

The expression

*ngIf="expression && prototype?.valueType === 'Integer' && 'String'"

seems a bit off.

Perhaps you want something like

*ngIf="expression && (prototype?.valueType === 'Integer' || prototype?.valueType === 'String'")

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)