From a051a45140392500c61d15f4c1fc783bd989076f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Fri, 8 Feb 2019 17:09:24 +0100 Subject: [PATCH] Set default contentGroup to content-creation --- .../creator/content-creator/content-creator.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/creator/content-creator/content-creator.component.html b/src/app/components/creator/content-creator/content-creator.component.html index 0510eea61..49d12951b 100644 --- a/src/app/components/creator/content-creator/content-creator.component.html +++ b/src/app/components/creator/content-creator/content-creator.component.html @@ -10,7 +10,7 @@ <markdown [data]="content.body"></markdown> <mat-form-field> <input matInput #group [formControl]="myControl" [matAutocomplete]="auto" - placeholder="{{'content.collection' | translate}}" value="{{lastCollection}}" /> + placeholder="{{'content.collection' | translate}}" [(ngModel)]="lastCollection" /> <mat-autocomplete #auto="matAutocomplete"> <mat-option *ngFor="let collection of contentGroups" [value]="collection.name"> {{collection.name}} -- GitLab