remove todo label-ify search dropdown note

This commit is contained in:
John Mitchell
2020-01-13 16:04:15 -05:00
parent bbf9c13952
commit 3684975ef9

View File

@@ -222,10 +222,6 @@ class Search extends React.Component {
> >
{(options && ( {(options && (
<Fragment> <Fragment>
{/* TODO: update value to being object
{ actualValue: optionKey, toString: () => label }
currently a pf bug that makes the checked logic
not work with object-based values */}
<Select <Select
variant={SelectVariant.checkbox} variant={SelectVariant.checkbox}
aria-label={name} aria-label={name}
@@ -256,10 +252,6 @@ class Search extends React.Component {
isExpanded={isFilterDropdownOpen} isExpanded={isFilterDropdownOpen}
placeholderText={`Filter By ${name}`} placeholderText={`Filter By ${name}`}
> >
{/* TODO: update value to being object
{ actualValue: optionKey, toString: () => label }
currently a pf bug that makes the checked logic
not work with object-based values */}
<SelectOption key="true" value="true"> <SelectOption key="true" value="true">
{booleanLabels.true || i18n._(t`Yes`)} {booleanLabels.true || i18n._(t`Yes`)}
</SelectOption> </SelectOption>