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
d5390ee8
Commit
d5390ee8
authored
6 years ago
by
Lukas Mauß
Browse files
Options
Downloads
Patches
Plain Diff
Add spaces to pattern of session-id input field
parent
6c788769
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!150
Resolve "Follow up from "Several Fixes""
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/components/shared/room-join/room-join.component.html
+1
-1
1 addition, 1 deletion
src/app/components/shared/room-join/room-join.component.html
with
1 addition
and
1 deletion
src/app/components/shared/room-join/room-join.component.html
+
1
−
1
View file @
d5390ee8
...
...
@@ -2,7 +2,7 @@
<form
(ngSubmit)=
"joinRoom(roomId.value)"
>
<div
fxLayout=
"row"
fxLayoutAlign=
"center"
fxLayoutGap=
"10px"
>
<mat-form-field>
<input
matInput
#roomId
type=
"text"
pattern=
"[0-9]*"
inputmode=
"numeric"
min=
"00000000"
max=
"99999999"
<input
matInput
#roomId
type=
"text"
pattern=
"[0-9
]*"
inputmode=
"numeric"
min=
"00000000"
max=
"99999999"
onkeydown=
"if(this.value.length - (this.value.split(' ').length -1) === 8 && event.keyCode != 8) return false;
if(this.value.length === 4 && event.keyCode != 8) this.value = this.value + ' ';"
placeholder=
"Session-Id"
[formControl]=
"roomFormControl"
[errorStateMatcher]=
"matcher"
/>
...
...
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