Skip to content
Snippets Groups Projects
Commit ea719f23 authored by Lukas Mauß's avatar Lukas Mauß Committed by Tom Käsler
Browse files

Adjust content-creation

parent d4c7e590
No related merge requests found
......@@ -9,8 +9,8 @@
</mat-form-field>
<markdown [data]="content.body"></markdown>
<mat-form-field>
<input matInput #group type="text" matInput [formControl]="myControl" [matAutocomplete]="auto"
placeholder={{lastCollection}}/>
<input matInput #group matInput [formControl]="myControl" [matAutocomplete]="auto"
value={{lastCollection}} placeholder="Collection"/>
<mat-autocomplete #auto="matAutocomplete">
<mat-option *ngFor="let collection of filteredOptions | async" [value]="collection">
{{collection}}
......
......@@ -84,6 +84,7 @@ export class ContentTextCreatorComponent implements OnInit {
this.notificationService.show('No empty fields allowed. Please check subject and body.');
return;
}
sessionStorage.setItem('collection', group);
this.resetAfterSubmit();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment