Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
tbcare
tbcare-mobile
Commits
1e5f720e
Commit
1e5f720e
authored
Jun 07, 2021
by
Zafir Rasyidi Taufik
Browse files
[GREEN] Try to fix test failing in pipeline
parent
3eba2f90
Pipeline
#82124
failed with stage
in 2 minutes and 8 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/scenes/ContactInvestigationFormStep2/index.tsx
View file @
1e5f720e
...
...
@@ -157,21 +157,17 @@ const ContactInvestigationFormStep2 = () => {
/>
<
Gap
axis
=
{
2
}
gap
=
{
15
}
/>
<
Field
id
=
"district"
type
=
{
Field
.
Type
.
Dropdown
}
name
=
"Kecamatan"
placeholder
=
"Pilih Kecamatan"
isRequired
=
{
true
}
isRequired
value
=
{
form
.
fields
.
district
.
value
||
KECAMATAN_VALUES
[
0
].
value
}
updateValue
=
{
val
=>
onFormChange
(
'
district
'
,
val
)
}
values
=
{
KECAMATAN_VALUES
}
/>
<
Field
id
=
"sub_district"
type
=
{
Field
.
Type
.
Dropdown
}
name
=
"Kelurahan"
placeholder
=
"Pilih Kelurahan"
isRequired
=
{
true
}
isRequired
value
=
{
form
.
fields
.
sub_district
.
value
||
KELURAHAN_VALUES
[
KECAMATAN_VALUES
[
0
].
value
][
0
].
value
}
updateValue
=
{
val
=>
onFormChange
(
'
sub_district
'
,
val
)
}
values
=
{
(
form
.
fields
.
district
.
value
)
?
KELURAHAN_VALUES
[
form
.
fields
.
district
.
value
]
:
KELURAHAN_VALUES
[
KECAMATAN_VALUES
[
0
].
value
]
}
...
...
Write
Preview
Supports
Markdown
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