Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcRPG
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcRPG
Commits
980e2db7
Commit
980e2db7
authored
Dec 28, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fe57d78f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
select.jsx
project/src/components/select/select.jsx
+4
-4
userinfo.jsx
project/src/components/userinfo/userinfo.jsx
+4
-4
No files found.
project/src/components/select/select.jsx
View file @
980e2db7
...
...
@@ -20,10 +20,10 @@ class Select extends Component {
}
onKeyUp
=
(
e
)
=>
{
let
planame
=
this
.
refs
.
planame
.
value
;
if
(
planame
.
length
>
6
)
{
this
.
refs
.
planame
.
value
=
planame
.
slice
(
0
,
6
)
}
//
let planame = this.refs.planame.value;
//
if(planame.length > 6) {
//
this.refs.planame.value = planame.slice(0,6)
//
}
}
componentDidMount
()
{
...
...
project/src/components/userinfo/userinfo.jsx
View file @
980e2db7
...
...
@@ -17,10 +17,10 @@ class Userinfo extends Component {
}
onKeyUp
=
(
e
)
=>
{
let
planame
=
this
.
refs
.
planame
.
value
;
if
(
planame
.
length
>
6
)
{
this
.
refs
.
planame
.
value
=
planame
.
slice
(
0
,
6
)
}
//
let planame = this.refs.planame.value;
//
if(planame.length > 6) {
//
this.refs.planame.value = planame.slice(0,6)
//
}
}
onclick
=
async
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment