Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new_excelso
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
new_excelso
Commits
8d4a5efe
Commit
8d4a5efe
authored
Jun 24, 2020
by
William Goszal
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix crash saat input email di textEdit di halaman login
parent
c6597754
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app.json
app.json
+2
-2
Login.js
view/Login.js
+5
-0
No files found.
app.json
View file @
8d4a5efe
...
@@ -29,14 +29,14 @@
...
@@ -29,14 +29,14 @@
"ios"
:
{
"ios"
:
{
"supportsTablet"
:
true
,
"supportsTablet"
:
true
,
"bundleIdentifier"
:
"id.web.ravintola.excelsocrm"
,
"bundleIdentifier"
:
"id.web.ravintola.excelsocrm"
,
"buildNumber"
:
"2006
19090
0"
,
"buildNumber"
:
"2006
24103
0"
,
"config"
:
{
"config"
:
{
"googleMapsApiKey"
:
"AIzaSyCvIFNvXKmBNetqPrV4VnjvF772avYbA3M"
"googleMapsApiKey"
:
"AIzaSyCvIFNvXKmBNetqPrV4VnjvF772avYbA3M"
}
}
},
},
"android"
:
{
"android"
:
{
"package"
:
"id.web.ravintola.excelsocrm"
,
"package"
:
"id.web.ravintola.excelsocrm"
,
"versionCode"
:
2006
19090
0
,
"versionCode"
:
2006
24103
0
,
"config"
:
{
"config"
:
{
"googleMaps"
:
{
"googleMaps"
:
{
"apiKey"
:
"AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo"
"apiKey"
:
"AIzaSyAcCfuNHVFstDUE-ZDafWsiUmA3ON79cqo"
...
...
view/Login.js
View file @
8d4a5efe
...
@@ -19,6 +19,7 @@ class Login extends React.Component {
...
@@ -19,6 +19,7 @@ class Login extends React.Component {
constructor
(
props
)
{
constructor
(
props
)
{
super
(
props
);
super
(
props
);
this
.
state
=
({
this
.
state
=
({
hiddenCaret
:
true
,
email
:
""
,
email
:
""
,
password
:
""
,
password
:
""
,
fb_token
:
""
,
fb_token
:
""
,
...
@@ -262,6 +263,8 @@ class Login extends React.Component {
...
@@ -262,6 +263,8 @@ class Login extends React.Component {
<
View
style
=
{{
flex
:
1
,
marginRight
:
30
,
marginLeft
:
30
,
justifyContent
:
'center'
}}
removeClippedSubviews
=
{
false
}
>
<
View
style
=
{{
flex
:
1
,
marginRight
:
30
,
marginLeft
:
30
,
justifyContent
:
'center'
}}
removeClippedSubviews
=
{
false
}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'email'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'email'
)}
<
/Text
>
<
TextInput
<
TextInput
caretHidden
=
{
this
.
state
.
hiddenCaret
}
onFocus
=
{()
=>
this
.
setState
({
hiddenCaret
:
false
})}
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
10
,
borderRadius
:
10
,
textAlign
:
'center'
,
fontFamily
:
'Gotham-Black'
,
color
:
'white'
,
fontSize
:
13
,
fontWeight
:
'bold'
}}
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
10
,
borderRadius
:
10
,
textAlign
:
'center'
,
fontFamily
:
'Gotham-Black'
,
color
:
'white'
,
fontSize
:
13
,
fontWeight
:
'bold'
}}
onChangeText
=
{(
email
)
=>
this
.
setState
({
email
})}
onChangeText
=
{(
email
)
=>
this
.
setState
({
email
})}
autoCapitalize
=
"none"
autoCapitalize
=
"none"
...
@@ -273,6 +276,8 @@ class Login extends React.Component {
...
@@ -273,6 +276,8 @@ class Login extends React.Component {
<
View
style
=
{{
flex
:
1
,
height
:
50
,
marginRight
:
30
,
marginLeft
:
30
,
justifyContent
:
'center'
}}
>
<
View
style
=
{{
flex
:
1
,
height
:
50
,
marginRight
:
30
,
marginLeft
:
30
,
justifyContent
:
'center'
}}
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'password'
)}
<
/Text
>
<
Text
style
=
{{
fontFamily
:
'Gotham-Black'
,
color
:
'#CFB368'
,
fontSize
:
20
,
textAlign
:
'center'
,
margin
:
3
}}
>
{
i18n
.
t
(
'password'
)}
<
/Text
>
<
TextInput
<
TextInput
caretHidden
=
{
this
.
state
.
hiddenCaret
}
onFocus
=
{()
=>
this
.
setState
({
hiddenCaret
:
false
})}
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
5
,
borderRadius
:
10
,
textAlign
:
'center'
,
fontFamily
:
'Gotham-Black'
,
color
:
'white'
,
fontSize
:
13
,
fontWeight
:
'bold'
}}
style
=
{{
height
:
40
,
borderColor
:
'gray'
,
borderWidth
:
1
,
padding
:
5
,
borderRadius
:
10
,
textAlign
:
'center'
,
fontFamily
:
'Gotham-Black'
,
color
:
'white'
,
fontSize
:
13
,
fontWeight
:
'bold'
}}
onChangeText
=
{
password
=>
this
.
setState
({
password
})}
onChangeText
=
{
password
=>
this
.
setState
({
password
})}
value
=
{
this
.
state
.
password
}
value
=
{
this
.
state
.
password
}
...
...
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