From 045da61bef6c7cac2a1a12bfd9842ce4c1b21cef Mon Sep 17 00:00:00 2001 From: Civolilah Date: Wed, 22 Jan 2025 01:53:53 +0100 Subject: [PATCH] Fixed issue with product combobox input value change --- src/components/forms/Combobox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/forms/Combobox.tsx b/src/components/forms/Combobox.tsx index 23b4e7487..5c604b29e 100644 --- a/src/components/forms/Combobox.tsx +++ b/src/components/forms/Combobox.tsx @@ -258,6 +258,7 @@ export function Combobox({ useClickAway(comboboxRef, () => { setIsOpen(false); + onInputValueChange?.(inputValue); if ( selectedOption && @@ -340,7 +341,6 @@ export function Combobox({ onFocus(); } }} - onBlur={() => onInputValueChange?.(inputValue)} placeholder={inputOptions.placeholder} disabled={readonly} defaultValue={