Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
feat: indicate required fields in new Related Person Modal (#1950)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesinsf-git committed Mar 29, 2020
1 parent d6904e7 commit e17dd1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/patients/related-persons/NewRelatedPersonModal.tsx
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

1 comment on commit e17dd1d

@vercel
Copy link

@vercel vercel bot commented on e17dd1d Mar 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.