Skip to content
Snippets Groups Projects
Commit 42d5fed1 authored by Lukas Mauß's avatar Lukas Mauß
Browse files

Add maxLength to content-subject/-body

parent 718c9b30
No related merge requests found
<form>
<mat-form-field class="input-block">
<input matInput #subject [(ngModel)]="content.subject" placeholder="{{'content.subject' | translate}}" name="subject">
<input matInput #subject [(ngModel)]="content.subject" placeholder="{{'content.subject' | translate}}" name="subject"
maxlength="20">
</mat-form-field>
<app-markdown-toolbar textareaId="content-text-body"></app-markdown-toolbar>
<mat-form-field class="input-block">
<textarea matInput #body [(ngModel)]="content.body" placeholder="{{'content.body' | translate}}" name="body"
matTextareaAutosize matAutosizeMinRows="3" matAutosizeMaxRows="8"></textarea>
matTextareaAutosize matAutosizeMinRows="3" matAutosizeMaxRows="8" maxlength="100"></textarea>
</mat-form-field>
<markdown [data]="content.body"></markdown>
<mat-form-field>
......
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