Fakultas Ilmu Komputer UI

Commit 1e5f720e authored by Zafir Rasyidi Taufik's avatar 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
......@@ -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]}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment