upd: jabatan
Deskripsi: - update modal active pada halaman jabatab No Issues
This commit is contained in:
@@ -43,7 +43,10 @@ export default function RootLayout() {
|
|||||||
<MenuItemRow
|
<MenuItemRow
|
||||||
icon={<AntDesign name="pluscircle" color="black" size={25} />}
|
icon={<AntDesign name="pluscircle" color="black" size={25} />}
|
||||||
title="Tambah Jabatan"
|
title="Tambah Jabatan"
|
||||||
onPress={() => { setVisibleTambah(true) }}
|
onPress={() => {
|
||||||
|
setVisible(false)
|
||||||
|
setVisibleTambah(true)
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<MenuItemRow
|
<MenuItemRow
|
||||||
icon={<AntDesign name="filter" color="black" size={25} />}
|
icon={<AntDesign name="filter" color="black" size={25} />}
|
||||||
@@ -53,10 +56,13 @@ export default function RootLayout() {
|
|||||||
</View>
|
</View>
|
||||||
</DrawerBottom>
|
</DrawerBottom>
|
||||||
|
|
||||||
<DrawerBottom animation="none" isVisible={isVisibleTambah} setVisible={setVisibleTambah} title="Tambah Lembaga Desa">
|
<DrawerBottom animation="slide" isVisible={isVisibleTambah} setVisible={setVisibleTambah} title="Tambah Lembaga Desa">
|
||||||
<View style={{ justifyContent: 'space-between', flex: 1 }}>
|
<View style={{ justifyContent: 'space-between', flex: 1 }}>
|
||||||
<View>
|
<View>
|
||||||
<SelectForm label="Lembaga Desa" placeholder="Pilih Lembaga Desa" value={choose.label} required onPress={() => { setSelect(true) }} />
|
<SelectForm label="Lembaga Desa" placeholder="Pilih Lembaga Desa" value={choose.label} required onPress={() => {
|
||||||
|
setVisibleTambah(false)
|
||||||
|
setSelect(true)
|
||||||
|
}} />
|
||||||
<InputForm type="default" placeholder="Nama Jabatan" required label="Jabatan" />
|
<InputForm type="default" placeholder="Nama Jabatan" required label="Jabatan" />
|
||||||
</View>
|
</View>
|
||||||
<View>
|
<View>
|
||||||
@@ -76,6 +82,7 @@ export default function RootLayout() {
|
|||||||
onSelect={(value) => {
|
onSelect={(value) => {
|
||||||
setChoose(value)
|
setChoose(value)
|
||||||
setSelect(false)
|
setSelect(false)
|
||||||
|
setVisibleTambah(true)
|
||||||
}}
|
}}
|
||||||
title="Lembaga Desa"
|
title="Lembaga Desa"
|
||||||
choose={choose.val}
|
choose={choose.val}
|
||||||
|
|||||||
Reference in New Issue
Block a user