diff --git a/src/components/input/TextInputWithLabelFormGroup.tsx b/src/components/input/TextInputWithLabelFormGroup.tsx index 5f1d8ef2fa..58c213c46d 100644 --- a/src/components/input/TextInputWithLabelFormGroup.tsx +++ b/src/components/input/TextInputWithLabelFormGroup.tsx @@ -9,14 +9,15 @@ interface Props { type: 'text' | 'email' | 'number' | 'tel' placeholder?: string onChange?: (event: React.ChangeEvent) => void + isRequired?: boolean } const TextInputWithLabelFormGroup = (props: Props) => { - const { value, label, name, isEditable, onChange, placeholder, type } = props + const { value, label, name, isEditable, onChange, placeholder, type, isRequired } = props const id = `${name}TextInput` return (
-