diff --git a/client/src/pages/filaments/create.tsx b/client/src/pages/filaments/create.tsx index 65396c9..d058e13 100644 --- a/client/src/pages/filaments/create.tsx +++ b/client/src/pages/filaments/create.tsx @@ -59,6 +59,11 @@ export const FilamentCreate: React.FC { + return a?.label && b?.label + ? (a.label as string).localeCompare(b.label as string, undefined, { sensitivity: "base" }) + : 0; + }} filterOption={(input, option) => typeof option?.label === "string" && option?.label.toLowerCase().includes(input.toLowerCase()) } diff --git a/client/src/pages/filaments/edit.tsx b/client/src/pages/filaments/edit.tsx index 07873e5..84fe63d 100644 --- a/client/src/pages/filaments/edit.tsx +++ b/client/src/pages/filaments/edit.tsx @@ -81,6 +81,11 @@ export const FilamentEdit: React.FC = () => {