Преглед изворни кода

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.
CalciumIon пре 1 година
родитељ
комит
89136dfa9e
2 измењених фајлова са 4 додато и 0 уклоњено
  1. 2 0
      web/src/pages/Channel/EditChannel.js
  2. 2 0
      web/src/pages/Channel/EditTagModal.js

+ 2 - 0
web/src/pages/Channel/EditChannel.js

@@ -710,6 +710,8 @@ const EditChannel = (props) => {
             required
             multiple
             selection
+            filter
+            searchPosition='dropdown'
             onChange={(value) => {
               handleInputChange('models', value);
             }}

+ 2 - 0
web/src/pages/Channel/EditTagModal.js

@@ -259,6 +259,8 @@ const EditTagModal = (props) => {
           required
           multiple
           selection
+          filter
+          searchPosition='dropdown'
           onChange={(value) => {
             handleInputChange('models', value);
           }}