Skip to content

Commit

Permalink
Merge branch 'Refine-tag-name-filter' of https://github.com/DvoraShec…
Browse files Browse the repository at this point in the history
…hter1/tackle2-ui into Refine-tag-name-filter
  • Loading branch information
DvoraShechter1 committed Oct 31, 2024
2 parents 1663e88 + 22927b3 commit 176c0cd
Showing 1 changed file with 0 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,50 +270,6 @@ export const MultiselectFilterControl = <TItem,>({
isOpen={isFilterDropdownOpen}
>
{groups && groups.length > 0 && (
// <SelectList id={withPrefix("select-typeahead-listbox")}>
// {groups.map((groupLabel) => (
// <React.Fragment key={groupLabel}>
// <SelectOption
// isDisabled
// hasCheckbox={false}
// key={`label-${groupLabel}`}
// >
// <strong>{groupLabel}</strong>
// </SelectOption>

// {filteredOptions
// .filter((option) => option.groupLabel === groupLabel)
// .map(({ label, value, optionProps = {} }, index) => (
// <SelectOption
// {...optionProps}
// {...(!optionProps.isDisabled && {
// hasCheckbox: true,
// })}
// key={value}
// id={withPrefix(`option-${index}`)}
// value={value}
// isFocused={focusedItemIndex === index}
// isSelected={filterValue?.includes(value)}
// >
// {label ?? value}
// </SelectOption>
// ))}
// </React.Fragment>
// ))}

// {filteredOptions.length === 0 && (
// <SelectOption
// isDisabled
// hasCheckbox={false}
// key={NO_RESULTS}
// value={NO_RESULTS}
// isSelected={false}
// >
// {`No results found for "${inputValue}"`}
// </SelectOption>
// )}
// </SelectList>

<SelectList id={withPrefix("select-typeahead-listbox")}>
{groups.map((groupLabel) => (
<React.Fragment key={groupLabel}>
Expand Down

0 comments on commit 176c0cd

Please sign in to comment.