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
Commits
67880746
Commit
67880746
authored
6 years ago
by
Lukas Mauß
Committed by
Tom Käsler
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix handling of spaces
parent
bd38bb0d
1 merge request
!141
Resolve "Session ID input field enhancement"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/components/shared/room-join/room-join.component.html
+4
-4
4 additions, 4 deletions
src/app/components/shared/room-join/room-join.component.html
with
4 additions
and
4 deletions
src/app/components/shared/room-join/room-join.component.html
+
4
−
4
View file @
67880746
<div
fxLayout=
"column"
fxLayoutAlign=
"center center"
fxlayoutgap=
"50px"
fxFill
>
<form
(ngSubmit)=
"joinRoom(roomId.value)"
>
<div
fxLayout=
"row"
fxLayoutAlign=
"center"
fxLayoutGap=
"10px"
>
<mat-form-field
class=
"number"
>
<input
matInput
inputmode=
"numeric"
type=
"number"
pattern=
"[0-9]*"
#roomId
placeholder=
"Session-Id"
[formControl]=
"roomFormControl"
[errorStateMatcher]=
"matcher"
max=
"8"
/>
<mat-hint
align=
"end"
>
{{roomId.value.length}} / 8
</mat-hint>
<mat-form-field>
<input
matInput
#roomId
type=
"number"
placeholder=
"Session-Id"
[formControl]=
"roomFormControl"
[errorStateMatcher]=
"matcher"
/>
<mat-hint
align=
"end"
>
{{roomId.value.
split(' ').join(' ').
length}} / 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-form-field>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment