fix(dashboard): combobox multiitem clear (#12939)
* fix(dashboard): clearing multiitem combobox * chore: changesets
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/dashboard": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(dashboard): clearing multiitem combobox
|
||||||
@@ -249,7 +249,7 @@ const ComboboxImpl = <T extends Value = string>(
|
|||||||
type="button"
|
type="button"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
handleValueChange(undefined)
|
handleValueChange(isArrayValue ? ([] as unknown as T) : undefined)
|
||||||
}}
|
}}
|
||||||
className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute left-0.5 top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border py-[3px] pl-1.5 pr-1 outline-none"
|
className="bg-ui-bg-base hover:bg-ui-bg-base-hover txt-compact-small-plus text-ui-fg-subtle focus-within:border-ui-fg-interactive transition-fg absolute left-0.5 top-0.5 z-[1] flex h-[28px] items-center rounded-[4px] border py-[3px] pl-1.5 pr-1 outline-none"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user