Hi all - I’m new to react and web dev in general. I have created a Box with a FormField inside. It displays correctly but I cannot seem to enter any text in the input field. It is not taking any values, like it is read-only. Does anyone know what I am doing wrong? Here is my code:
<Box
padding="20px"
border="thick"
borderRadius="large"
>
<div>
<FormField
label= {formLabel}
>
<Input
placeholder = {descriptionPlaceHolder}
value = {addDescription}
onChange={e => addDescription = e.target.value}
/>
<Button
style = {{marginTop: 10}}
onClick = {() => {}}
>
Add
</Button>
</FormField>
</div>
</Box>