Skip to content
Snippets Groups Projects
Commit abd18d86 authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

restrict tag length to 50 characters (test)

parent a4392a6e
Branches
Tags
No related merge requests found
......@@ -45,3 +45,8 @@ mat-form-field {
background-color: var(--alt-dialog);
}
}
mat-hint {
color: var(--on-surface) !important;
margin-right: 1%;
}
......@@ -19,7 +19,7 @@ export class TagsComponent implements OnInit {
tags: string[];
tagsEnabled: boolean;
tagFormControl = new FormControl('', [Validators.minLength(3), Validators.maxLength(20)]);
tagFormControl = new FormControl('', [Validators.minLength(3), Validators.maxLength(50)]);
@ViewChild('tag') redel: ElementRef;
constructor(public dialogRef: MatDialogRef<RoomCreatorPageComponent>,
......
......@@ -237,7 +237,7 @@
"settings-direct-send": "Fragen sofort sichtbar",
"sure": "Bist du sicher?",
"tag-new": "Neue Fragenkategorie:",
"tag-error": "Muss zwischen 3 und 20 Zeichen lang sein",
"tag-error": "Muss zwischen 3 und 50 Zeichen lang sein",
"tags": "Tags",
"threshold": "Schwellenwert",
"update": "Speichern",
......
......@@ -238,7 +238,7 @@
"settings-direct-send": "Questions instantly visible",
"sure": "Are you sure?",
"tag-new": "New question tag:",
"tag-error": "Must be between 3 and 20 characters long",
"tag-error": "Must be between 3 and 50 characters long",
"tags": "Tags",
"threshold": "Threshold",
"update": "Save",
......
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