From 6934748b14b4554332c9ca9f99ea5a6dbe2c9b84 Mon Sep 17 00:00:00 2001 From: Donkie Date: Sat, 12 Aug 2023 21:10:44 +0200 Subject: [PATCH] Client: Enabled search in vendor/filament dropdown Closes #60 --- client/src/pages/filaments/create.tsx | 8 +++++++- client/src/pages/filaments/edit.tsx | 8 +++++++- client/src/pages/spools/create.tsx | 8 +++++++- client/src/pages/spools/edit.tsx | 8 +++++++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/client/src/pages/filaments/create.tsx b/client/src/pages/filaments/create.tsx index fb7dc7e..65396c9 100644 --- a/client/src/pages/filaments/create.tsx +++ b/client/src/pages/filaments/create.tsx @@ -56,7 +56,13 @@ export const FilamentCreate: React.FC - + typeof option?.label === "string" && option?.label.toLowerCase().includes(input.toLowerCase()) + } + /> = () => { return value; }} > - + typeof option?.label === "string" && option?.label.toLowerCase().includes(input.toLowerCase()) + } + /> - + typeof option?.label === "string" && option?.label.toLowerCase().includes(input.toLowerCase()) + } + /> = () => { }, ]} > - + typeof option?.label === "string" && option?.label.toLowerCase().includes(input.toLowerCase()) + } + />