fix(dashboard,medusa,types): allow searching for promotion rule options (#12028)
* fix: allow searching for promotion rule options * fix: allow searching for promotion rule options * add changeset * cleanup
This commit is contained in:
committed by
GitHub
parent
6d8390a529
commit
3dba58785f
@@ -197,7 +197,7 @@ const ComboboxImpl = <T extends Value = string>(
|
||||
const showTag = hasValue && isArrayValue
|
||||
const showSelected = showTag && !searchValue && !open
|
||||
|
||||
const hideInput = !isArrayValue && !open
|
||||
const hideInput = !isArrayValue && hasValue && !open
|
||||
const selectedLabel = options.find((o) => o.value === selectedValues)?.label
|
||||
|
||||
const hidePlaceholder = showSelected || open
|
||||
|
||||
Reference in New Issue
Block a user