Skip to content

Commit

Permalink
set free_text default value
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtennant committed Sep 23, 2024
1 parent 320db1f commit 0c40d9f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,13 @@ const EditProvisionModalForm: React.FC<EditProvisionModalFormProps> = ({
Free Text
</Form.Label>
<Col sm="10">
<Form.Control as="textarea" rows={3} name="free_text" onChange={handleFreeTextChange} />
<Form.Control
as="textarea"
defaultValue={freeText}
rows={3}
name="free_text"
onChange={handleFreeTextChange}
/>
</Col>
</Form.Group>
)}
Expand Down

0 comments on commit 0c40d9f

Please sign in to comment.