Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Merge requests
!141
Resolve "Session ID input field enhancement"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Session ID input field enhancement"
197-session-id-input-field-enhancement
into
master
Overview
1
Commits
7
Pipelines
7
Changes
5
Merged
Lukas Mauß
requested to merge
197-session-id-input-field-enhancement
into
master
6 years ago
Overview
1
Commits
7
Pipelines
7
Changes
4
Expand
Closes
#197 (closed)
0
0
Merge request reports
Viewing commit
b9d3ea54
Prev
Next
Show latest version
4 files
+
18
−
5
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
b9d3ea54
Fix Validation for input field
· b9d3ea54
Lukas Mauß
authored
6 years ago
src/app/components/shared/room-join/room-join.component.html
+
1
−
1
Options
@@ -8,7 +8,7 @@
placeholder=
"Session-Id"
[formControl]=
"roomFormControl"
[errorStateMatcher]=
"matcher"
/>
<mat-hint
align=
"end"
>
{{ roomId.value.length - (roomId.value.split(' ').length -1) }} / 8
</mat-hint>
<mat-error
*ngIf=
"roomFormControl.hasError('required')"
>
{{ 'home-page.please-enter' | translate}}
</mat-error>
<mat-error
*ngIf=
"roomFormControl.hasError('
minlength
')"
>
{{ 'home-page.
exactly-8
' | translate}}
</mat-error>
<mat-error
*ngIf=
"roomFormControl.hasError('
pattern
')"
>
{{ 'home-page.
only-numbers
' | translate}}
</mat-error>
</mat-form-field>
<button
mat-fab
color=
"accent"
type=
"submit"
>
<mat-icon>
input
</mat-icon>