From 22460af98762282be1d19be78c1eb750d0c55e44 Mon Sep 17 00:00:00 2001 From: Andreas Scheibal Date: Thu, 5 Aug 2021 13:47:54 +0200 Subject: [PATCH] fix: make addressfield required (#211) --- src/components/modals/group-modal.component.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/modals/group-modal.component.tsx b/src/components/modals/group-modal.component.tsx index 7dd9b5c..4b9245c 100644 --- a/src/components/modals/group-modal.component.tsx +++ b/src/components/modals/group-modal.component.tsx @@ -217,6 +217,7 @@ const GroupModal = (props: any) => { < FormGroupTextarea controlId='formAdressData' title={t('translation:address-testcenter')} placeholder={t('translation:address-testcenter-placeholder')} value={data} + required onChange={(evt: any) => setData(evt.target.value)} type='textarea' maxLength={300}