I have created a form in angular Html component, which is used to add users and update them using dialog module. If the user clicks for updating, I want to hide password input in HTML.
<mat-form-field appearance="outline">
<mat-label>Password</mat-label>
<input formControlName="password" matInput/>
</mat-form-field>
