From 89136dfa9ecc42c8cc32f0775f0db35e32f916e0 Mon Sep 17 00:00:00 2001 From: CalciumIon <1808837298@qq.com> Date: Wed, 11 Dec 2024 21:33:30 +0800 Subject: [PATCH] feat: Add filtering and search functionality to model selection in EditChannel and EditTagModal - Implemented filter and search position options in the model selection dropdowns for both EditChannel and EditTagModal components. - Enhanced user experience by allowing users to easily find and select models from a potentially large list. --- web/src/pages/Channel/EditChannel.js | 2 ++ web/src/pages/Channel/EditTagModal.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/web/src/pages/Channel/EditChannel.js b/web/src/pages/Channel/EditChannel.js index 95debfd7..e6ebbd94 100644 --- a/web/src/pages/Channel/EditChannel.js +++ b/web/src/pages/Channel/EditChannel.js @@ -710,6 +710,8 @@ const EditChannel = (props) => { required multiple selection + filter + searchPosition='dropdown' onChange={(value) => { handleInputChange('models', value); }} diff --git a/web/src/pages/Channel/EditTagModal.js b/web/src/pages/Channel/EditTagModal.js index b38a7dcb..3a6eae44 100644 --- a/web/src/pages/Channel/EditTagModal.js +++ b/web/src/pages/Channel/EditTagModal.js @@ -259,6 +259,8 @@ const EditTagModal = (props) => { required multiple selection + filter + searchPosition='dropdown' onChange={(value) => { handleInputChange('models', value); }}