Skip to content

Commit

Permalink
Fix: the selected medicine issue in the placeholder (#9596)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 authored Dec 28, 2024
1 parent 37dce64 commit bfc4f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Medicine/MedibaseAutocompleteFormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function MedibaseAutocompleteFormField(
required
onChange={field.handleChange}
options={mergeQueryOptions(
field.value && !query ? [field.value] : [],
field.value ? [field.value] : [],
data ?? [],
(obj) => obj.id,
)}
Expand Down

0 comments on commit bfc4f51

Please sign in to comment.