Skip to content

Commit

Permalink
Display physician name, hospital, and phone number in combobox drop down
Browse files Browse the repository at this point in the history
  • Loading branch information
samau3 committed Oct 21, 2024
1 parent 179ce4b commit 2cf217d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function HealthcareChoicesSearch({ form, choice, initialData }) {

const options = (data || []).map((item) => (
<Combobox.Option value={item.id} key={item.id}>
{item.name}{item.hospital ? ` - ${item.hospital}` : ''}
{item.name}{item.hospital ? ` (${item.hospital})` : ''}{item.phone ? ` - ${item.phone}` : ''}
</Combobox.Option>
));

Expand Down

0 comments on commit 2cf217d

Please sign in to comment.