Maybe an outdated question but I cant get it to work.
I have an *ngIF
statement and i want to use multiple conditions like this:
*ngIf="expression && prototype?.valueType === 'Integer' && 'String'"
How do I set this *ngIf
with multiple conditions?
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'")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With