Display Mat-hint only on corresponding input focus
0 I have a mat-hint element added in my html. I want to display mat-hint only when users focus is on corresponding form-field & hide the hint on focusout. How to achieve this scenario for all form-fields. <mat-hint align="end">Max 50 characters</mat-hint> angular angular-material share | improve this question asked Nov 13 '18 at 11:05 Mayur Patil Mayur Patil 53 7 add a comment | 0 I have a mat-hint element added in my html. I want to display mat-hint only when users focus is on corresponding form-field & hide the hint on focusout. How to achieve this scenario for all form-fields. <mat-hint align="end">Max 50 characters</mat-hint> angular angular-material share | improve this question asked Nov 13 '18 at 11:05 Mayur Patil Mayur Patil 53 7 add a comment | 0 0 0 I have a mat-hint element added in my ht