File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export default function AddModelDownloadModal() {
7979 < span className = "card-title mb-0 label-text flex" > < span className = "cursor-help underline filtersUnderline" > Name</ span > </ span >
8080 </ Tooltip >
8181 < Dropdown2 options = { filteredList && filteredList } useDifferentTextColor = { colorDownloadedModels } differentTextColor = "green" valuePropertyPath = "configString"
82- hasSearchBar = { true } dropdownItemsClasses = "max-h-96 overflow-y-auto"
82+ hasSearchBar = { true } dropdownItemsClasses = "max-h-96 overflow-y-auto" ignoreDisabledForSearch = { true }
8383 selectedOption = { ( option : any ) => {
8484 setModelName ( option . configString ) ;
8585 } } optionsHaveHoverBox = { true } hoverBoxList = { hoverBoxList } lineSeparatorIndex = { lineSeparatorIndex }
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ export default function AddZeroShotModal() {
155155 </ div >
156156 </ Tooltip >
157157 < Dropdown2 options = { filteredList && filteredList } hasSearchBar = { true } optionsHaveLink = { true } optionsHaveHoverBox = { true } valuePropertyPath = "configString"
158- useDifferentTextColor = { colorDownloadedModels } differentTextColor = "green"
158+ useDifferentTextColor = { colorDownloadedModels } differentTextColor = "green" ignoreDisabledForSearch = { true }
159159 linkList = { filteredList && filteredList . map ( model => model . link ) }
160160 selectedOption = { ( option : any ) => setModel ( option . configString ) }
161161 hoverBoxList = { hoverBoxList }
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ function SuggestionsModel(props: SuggestionsProps) {
363363 < span className = "card-title mb-0 label-text flex" > < span className = "cursor-help underline filtersUnderline" > Model</ span > </ span >
364364 </ Tooltip >
365365 < Dropdown2 options = { filteredList && filteredList } hasSearchBar = { true } differentTextColor = "green" useDifferentTextColor = { colorDownloadedModels } valuePropertyPath = "configString"
366- selectedOption = { ( option : any ) => props . selectedOption ( option . configString ) } optionsHaveHoverBox = { true } hoverBoxList = { hoverBoxList }
366+ selectedOption = { ( option : any ) => props . selectedOption ( option . configString ) } optionsHaveHoverBox = { true } hoverBoxList = { hoverBoxList } ignoreDisabledForSearch = { true }
367367 searchTextTyped = { ( option : string ) => props . selectedOption ( option ) }
368368 filteredOptions = { ( option : string ) => setFilteredList ( props . options . filter ( ( val : any ) => val . configString . includes ( option ) ) ) } />
369369 </ >
@@ -382,7 +382,7 @@ function SuggestionsAzure(props: SuggestionsProps) {
382382 return < > < Tooltip content = { props . tooltip } placement = "right" color = "invert" >
383383 < span className = "card-title mb-0 label-text flex" > < span className = "cursor-help underline filtersUnderline" > { props . name } </ span > </ span >
384384 </ Tooltip >
385- < Dropdown2 options = { filteredList && filteredList } hasSearchBar = { true }
385+ < Dropdown2 options = { filteredList && filteredList } hasSearchBar = { true } ignoreDisabledForSearch = { true }
386386 selectedOption = { ( option : string ) => props . selectedOption ( option ) }
387387 searchTextTyped = { ( option : string ) => props . selectedOption ( option ) }
388388 filteredOptions = { ( option : string ) => setFilteredList ( props . options . filter ( ( val : any ) => val . includes ( option ) ) ) } />
You can’t perform that action at this time.
0 commit comments