I have a problem, I would like to do this:
<mat-form-field>
<mat-label>Period:</mat-label>
<input matInput [value]="period.month / period.year" disabled>
</mat-form-field>
But that does not work.
On the other hand, this works:
<mat-form-field>
<mat-label>Period:</mat-label>
<input matInput [value]="period.year" disabled>
</mat-form-field>
Would anyone have a solution to display multiple variables in the value of an input?
EDIT: [ngValue]
does not work, I want to display a string of variables.