amalia/06-jan-26 #101

Merged
amaliadwiy merged 2 commits from amalia/06-jan-26 into main 2026-01-06 17:45:45 +08:00
9 changed files with 166 additions and 74 deletions
Showing only changes of commit 476319945e - Show all commits

View File

@@ -324,6 +324,7 @@ export default function FormSurat() {
<Grid> <Grid>
<Grid.Col span={12}> <Grid.Col span={12}>
<Select <Select
allowDeselect={false}
label={ label={
<FieldLabel <FieldLabel
label="Jenis Surat" label="Jenis Surat"
@@ -396,6 +397,7 @@ export default function FormSurat() {
<Grid.Col span={6} key={index}> <Grid.Col span={6} key={index}>
{item.type == "enum" ? ( {item.type == "enum" ? (
<Select <Select
allowDeselect={false}
label={ label={
<FieldLabel <FieldLabel
label={item.name} label={item.name}

View File

@@ -625,6 +625,7 @@ function DataUpdate({
<Grid.Col span={6} key={index}> <Grid.Col span={6} key={index}>
{item.type == "enum" ? ( {item.type == "enum" ? (
<Select <Select
allowDeselect={false}
label={<FieldLabel label={item.name} hint={item.desc} />} label={<FieldLabel label={item.name} hint={item.desc} />}
data={item.options ?? []} data={item.options ?? []}
placeholder={item.name} placeholder={item.name}