I'm using Angular 8.1.3. Here's my HTML...
<mat-form-field floatLabel="never">
<input matInput placeholder="Address Line 2" [value]="addressLine2" [disabled]="disableAddressFields">
</mat-form-field>
I have the following in my TypeScript file.
addressLine2 = '';
Changing to a non-empty string is reflected in the HTML.
this.addressLine2 = 'some value';
But setting it back to an empty string does is not reflected in the HTML, despite the value being empty ('') in the TypeScript (confirmed by printing to console).
this.addressLine2 = '';
It seems that once a non-empty string is set in the TypeScript, an empty string that is set is not reflected in the HTML. I'm kind of lost here; any help would be greatly appreciated.