upd : position

Deskripsi:
- validasi button form tambah jabatan
- validasi disable button form edit jabatan

No Issues
This commit is contained in:
2025-08-27 11:25:16 +08:00
parent 171c5f0eeb
commit 2651e4bd18
2 changed files with 14 additions and 16 deletions

View File

@@ -251,7 +251,7 @@ export default function Index() {
/>
</View>
<View style={Styles.mb30}>
<ButtonForm text="SIMPAN" onPress={() => { checkForm() }} />
<ButtonForm text="SIMPAN" onPress={() => { handleEdit() }} disabled={Object.values(error).some((v) => v == true) || chooseData.name == ""} />
</View>
</View>
</DrawerBottom>