OS
Size: a a a
OS
ПП
AB
R
<div class="example-box" *ngFor="let item of done" cdkDrag>{{item.nameRu}}
<mat-form-field class="example-full-width">
<input *ngIf="item" #control="ngModel" positiveNumber matInput name="duration"
[(ngModel)]="item.duration" required>
</mat-form-field>
<div *ngIf="control && control.dirty && control.errors" class="hint-error">Число должно быть положительным</div>
<pre *ngIf="control">{{ control.errors | json }}</pre>
</div>R
R
AB
R
AB
R
ОК
RC
L
DD
RC
L
app-comp:
ngOnInit() -> if (localStorage.len) { check path -> navigate }
RC
L
RC