Skip to content

Commit

Permalink
Make tooltip more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszbachorski committed Jan 19, 2025
1 parent e213190 commit 55ebf0c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion routes/~_dashboard/~patients/PatientForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ export const PatientForm = ({
control={form.control}
name="providerName"
label="Provider name"
tooltip={'Displayed under "Provider" in Health Report'}
tooltip={
<div>
Displayed as "Provider" of the Health Report. <br />

Check warning on line 139 in routes/~_dashboard/~patients/PatientForm.tsx

View check run for this annotation

Codecov / codecov/patch

routes/~_dashboard/~patients/PatientForm.tsx#L133-L139

Added lines #L133 - L139 were not covered by tests
If "Provider name" is not set, assigned clinician will be shown.
</div>

Check warning on line 141 in routes/~_dashboard/~patients/PatientForm.tsx

View check run for this annotation

Codecov / codecov/patch

routes/~_dashboard/~patients/PatientForm.tsx#L141

Added line #L141 was not covered by tests
}
render={({ field }) => <Input {...field} value={field.value ?? ''} />}
/>

Check warning on line 144 in routes/~_dashboard/~patients/PatientForm.tsx

View check run for this annotation

Codecov / codecov/patch

routes/~_dashboard/~patients/PatientForm.tsx#L143-L144

Added lines #L143 - L144 were not covered by tests
<Button type="submit" isPending={form.formState.isSubmitting}>
Expand Down

0 comments on commit 55ebf0c

Please sign in to comment.