web: allow multi-line text in reminder description

This commit is contained in:
Abdullah Atta
2023-02-09 13:37:08 +05:00
committed by Abdullah Atta
parent b7af3d92c9
commit 4ef8785489

View File

@@ -223,11 +223,17 @@ export default function AddReminderDialog(props: AddReminderDialogProps) {
}
/>
<Field
as="textarea"
id="description"
label="Description"
data-test-id="description-input"
helpText="Optional"
value={description}
styles={{
input: {
height: 100
}
}}
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
setDescription(e.target.value)
}