Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: active filter bug

Brad Barbin9cb155e5d4d0
diff --git a/apps/mes/app/components/Filter/ActiveFilters.tsx b/apps/mes/app/components/Filter/ActiveFilters.tsx
index e306550c6e..c71128171d 100644
--- a/apps/mes/app/components/Filter/ActiveFilters.tsx
+++ b/apps/mes/app/components/Filter/ActiveFilters.tsx
@@ -168,7 +168,7 @@ const ActiveFilter = ({ filter, operator, value }: ActiveFilterProps) => {
const isChecked = hasFilter(filter.accessorKey, option.value);
return (
<CommandItem
- value={option.value}
+ value={reactNodeToString(option.label).replace(/"/g, '\\"')}
key={option.value}
onSelect={() => {
toggleFilter(