Skip to content

Commit

Permalink
Merge pull request #2323 from Civolilah/bugfix/selecting-product
Browse files Browse the repository at this point in the history
[Bugfix] Auto-Fill Line Item When Search Term Is Entered In Product Selector
  • Loading branch information
beganovich authored Jan 22, 2025
2 parents 34d356d + 045da61 commit 86a73ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/forms/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ export function Combobox<T = any>({

useClickAway(comboboxRef, () => {
setIsOpen(false);
onInputValueChange?.(inputValue);

if (
selectedOption &&
Expand Down Expand Up @@ -340,7 +341,6 @@ export function Combobox<T = any>({
onFocus();
}
}}
onBlur={() => onInputValueChange?.(inputValue)}
placeholder={inputOptions.placeholder}
disabled={readonly}
defaultValue={
Expand Down

0 comments on commit 86a73ed

Please sign in to comment.