Fix All Text Input User & Admin, fix deskripsi detail break word
This commit is contained in:
@@ -84,7 +84,7 @@ function EditRole() {
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={4}>Edit Role</Title>
|
||||
<TextInput
|
||||
value={formData.name}
|
||||
defaultValue={formData.name}
|
||||
onChange={(e) => setFormData({ ...formData, name: e.target.value })}
|
||||
label={<Text fw={"bold"} fz={"sm"}>Nama Role</Text>}
|
||||
placeholder='Masukkan nama role'
|
||||
|
||||
@@ -66,7 +66,7 @@ export default function CreateRole() {
|
||||
<TextInput
|
||||
label="Nama Role"
|
||||
placeholder="Masukkan nama role"
|
||||
value={stateRole.create.form.name || ''}
|
||||
defaultValue={stateRole.create.form.name || ''}
|
||||
onChange={(e) => (stateRole.create.form.name = e.target.value)}
|
||||
required
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user