Skip to content

Commit

Permalink
fix the drodpwon value persisting
Browse files Browse the repository at this point in the history
  • Loading branch information
NitinPSingh committed Oct 17, 2024
1 parent 188f7da commit 2eff833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Form/AutoCompleteAsync.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const AutoCompleteAsync = (props: Props) => {
return (
<div className={className}>
<Combobox
value={selected}
value={selected?.length > 0 ? selected : null}
disabled={disabled}
onChange={onChange}
by={compareBy}
Expand Down

0 comments on commit 2eff833

Please sign in to comment.