Merge pull request 'upd: form tambah surat' (#114) from amalia/21-jan-26 into main
Reviewed-on: http://wibugit.wibudev.com/wibu/jenna-mcp/pulls/114
This commit is contained in:
@@ -173,7 +173,7 @@ export default function FormSurat() {
|
||||
(typeof item.value === "string" && item.value.trim() === "" && item.required) || (typeof item.value === "object" && item.value === null && item.required),
|
||||
);
|
||||
}
|
||||
return typeof value === "string" && value.trim() === "" ;
|
||||
return typeof value === "string" && value.trim() === "";
|
||||
});
|
||||
|
||||
if (isFormKosong) {
|
||||
@@ -385,7 +385,7 @@ export default function FormSurat() {
|
||||
value: item.name,
|
||||
label: item.name,
|
||||
}))}
|
||||
value={jenisSuratFix.name}
|
||||
value={jenisSuratFix.name == "" ? null : jenisSuratFix.name}
|
||||
onChange={(value) => {
|
||||
const slug = toSlug(String(value));
|
||||
navigate("/darmasaba/surat?jenis=" + slug);
|
||||
|
||||
Reference in New Issue
Block a user