Skip to content

Commit

Permalink
enhanced AutocompleteFormField (#8414)
Browse files Browse the repository at this point in the history
  • Loading branch information
JOSHIK27 authored Sep 10, 2024
1 parent 7769eb9 commit 80a8a47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Components/Form/FormFields/Autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export const Autocomplete = <T, V>(props: AutocompleteProps<T, V>) => {
id={props.id}
>
<Combobox
immediate
disabled={props.disabled}
value={(value ?? props.placeholder ?? "Select") as T}
onChange={(selection: any) => props.onChange(selection.value)}
Expand Down

0 comments on commit 80a8a47

Please sign in to comment.