Fix All Text Input User & Admin, fix deskripsi detail break word

This commit is contained in:
2025-09-29 14:06:04 +08:00
parent 2a26db6e17
commit dbd56a1493
319 changed files with 965 additions and 817 deletions

View File

@@ -117,7 +117,7 @@ function EditJenisProgramYangDiselenggarakan() {
<TextInput
label={<Text fz="sm" fw="bold">Judul</Text>}
placeholder="Masukkan judul program"
value={judul}
defaultValue={judul}
onChange={(e) => setJudul(e.currentTarget.value)}
error={!judul && 'Judul wajib diisi'}
/>

View File

@@ -83,6 +83,7 @@ function Page() {
fw="bold"
c={colors['blue-button']}
dangerouslySetInnerHTML={{ __html: data.judul }}
style={{ wordBreak: "break-word", whiteSpace: "normal" }}
/>
<Divider my="md" color={colors['blue-button']} />
@@ -93,6 +94,7 @@ function Page() {
ta="justify"
c="dimmed"
dangerouslySetInnerHTML={{ __html: data.deskripsi }}
style={{ wordBreak: "break-word", whiteSpace: "normal" }}
/>
</Stack>
</Box>

View File

@@ -117,7 +117,7 @@ function EditTempatKegiatan() {
<TextInput
label={<Text fz="sm" fw="bold">Judul</Text>}
placeholder="Masukkan judul tempat kegiatan"
value={judul}
defaultValue={judul}
onChange={(e) => setJudul(e.currentTarget.value)}
error={!judul && 'Judul wajib diisi'}
/>

View File

@@ -71,6 +71,7 @@ function Page() {
fw="bold"
c={colors['blue-button']}
dangerouslySetInnerHTML={{ __html: data.judul }}
style={{ wordBreak: "break-word", whiteSpace: "normal" }}
/>
<Divider my="md" color={colors['blue-button']} />
@@ -81,6 +82,7 @@ function Page() {
ta="justify"
c="dimmed"
dangerouslySetInnerHTML={{ __html: data.deskripsi }}
style={{ wordBreak: "break-word", whiteSpace: "normal" }}
/>
</Stack>
</Box>

View File

@@ -112,7 +112,7 @@ function EditTujuanProgram() {
<TextInput
label={<Text fz="sm" fw="bold">Judul</Text>}
placeholder="Masukkan judul program"
value={judul}
defaultValue={judul}
onChange={(e) => setJudul(e.currentTarget.value)}
error={!judul && 'Judul wajib diisi'}
/>

View File

@@ -85,6 +85,7 @@ function Page() {
fw="bold"
c={colors['blue-button']}
dangerouslySetInnerHTML={{ __html: data.judul }}
style={{ wordBreak: "break-word", whiteSpace: "normal" }}
/>
<Divider my="md" color={colors['blue-button']} />
@@ -95,6 +96,7 @@ function Page() {
ta="justify"
c="dimmed"
dangerouslySetInnerHTML={{ __html: data.deskripsi }}
style={{ wordBreak: "break-word", whiteSpace: "normal" }}
/>
</Stack>
</Box>