aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/form-model/form-model.component.html
diff options
context:
space:
mode:
authorNevena Bojovic <nenabojov@gmail.com>2022-05-10 23:19:30 +0200
committerNevena Bojovic <nenabojov@gmail.com>2022-05-10 23:19:30 +0200
commit620288faaae5cbdd70c50bd07672ede1fdf2394e (patch)
tree58c789f65bae6750fec004abd6002e5d6ac1c845 /frontend/src/app/_elements/form-model/form-model.component.html
parentc02a7f0793a7b290029ec81859cdea5724a3f7dc (diff)
parent1690c70e86e5f79fa5708ea12ed034bf605cf259 (diff)
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
Diffstat (limited to 'frontend/src/app/_elements/form-model/form-model.component.html')
-rw-r--r--frontend/src/app/_elements/form-model/form-model.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/app/_elements/form-model/form-model.component.html b/frontend/src/app/_elements/form-model/form-model.component.html
index 4e0d1cfb..d13cb3aa 100644
--- a/frontend/src/app/_elements/form-model/form-model.component.html
+++ b/frontend/src/app/_elements/form-model/form-model.component.html
@@ -11,7 +11,7 @@
<div class="ns-col">
<mat-form-field appearance="fill" class="mat-fix">
<mat-label>Tip problema</mat-label>
- <mat-select [(ngModel)]="newModel.type">
+ <mat-select [(ngModel)]="newModel.type" (selectionChange)="filterLossFunction()" disabled="true">
<mat-option *ngFor="let option of Object.keys(ProblemType); let optionName of Object.values(ProblemType)" [value]="option">
{{ optionName }}
</mat-option>
@@ -36,7 +36,7 @@
<mat-form-field appearance="fill" class="mat-fix">
<mat-label>Funkcija troška</mat-label>
<mat-select [(ngModel)]="newModel.lossFunction">
- <mat-option *ngFor="let option of Object.keys(LossFunction); let optionName of Object.values(LossFunction)" [value]="option">
+ <mat-option *ngFor="let option of Object.keys(lossFunction); let optionName of Object.values(lossFunction)" [value]="option">
{{ optionName }}
</mat-option>
</mat-select>