Skip to content
Snippets Groups Projects
Commit b62bf742 authored by pnogal's avatar pnogal Committed by Paulina Nogal
Browse files

Add conditional to show hint when maxLength is set

parent f130765f
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@
resizeToFitContent
[placeholder]="inputName">
</textarea>
<mat-hint align="end">
<mat-hint align="end" *ngIf="maxLength">
{{ inputForm.value.value.length }} / {{ maxLength }}
</mat-hint>
</mat-form-field>
......
......@@ -10,7 +10,6 @@ import {
} from '@angular/forms';
import { Observable } from 'rxjs';
import { Year } from '@app/core/models/year';
import { NgSwitch } from '@angular/common';
@Component({
selector: 'cse-prompt-dialog',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment