mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-26 17:35:23 +00:00
added list wrapper to individual checkboxes
This commit is contained in:
1 parent
54299ef196
commit
2dcac548c3
1 file changed
+9
-7
@@ -38,13 +38,15 @@ export default function DiagnosisForm(): ReactElement {
|
||||
|
||||
if (field.name != null) {
|
||||
formElements.push(
|
||||
<CheckboxItem
|
||||
id={field.id}
|
||||
data-testid={field.id}
|
||||
key={field.id}
|
||||
>
|
||||
{field.name}
|
||||
</CheckboxItem>,
|
||||
<List>
|
||||
<CheckboxItem
|
||||
id={field.id}
|
||||
data-testid={field.id}
|
||||
key={field.id}
|
||||
>
|
||||
{field.name}
|
||||
</CheckboxItem>
|
||||
</List>,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user