Skip to content

Commit

Permalink
fix: indicate required fields in new Related Person Modal
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesinsf-git committed Mar 29, 2020
1 parent 19768a1 commit 6b8481b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/patients/related-persons/NewRelatedPersonModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const NewRelatedPersonModal = (props: Props) => {
<div className="row">
<div className="col-md-12">
<div className="form-group">
<Label text={t('patient.relatedPerson')} htmlFor="relatedPersonTypeAhead" />
<Label text={t('patient.relatedPerson')} htmlFor="relatedPersonTypeAhead" isRequired />
<Typeahead
id="relatedPersonTypeAhead"
searchAccessor="fullName"
Expand All @@ -64,6 +64,7 @@ const NewRelatedPersonModal = (props: Props) => {
label={t('patient.relatedPersons.relationshipType')}
value={relatedPerson.type}
isEditable
isRequired
onChange={(event: React.ChangeEvent<HTMLInputElement>) => {
onInputElementChange(event, 'type')
}}
Expand Down

0 comments on commit 6b8481b

Please sign in to comment.