Skip to content

Commit

Permalink
feat: update autoHighlight to false
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien Delannoy <[email protected]>
  • Loading branch information
Adrien-D committed Jul 11, 2024
1 parent 080e033 commit 738268c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ui/src/app/shared/components/input-filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ interface InputProps {
name: string;
onChange: (input: string) => void;
filterSuggestions?: boolean;
autoHighlight?: boolean;
}

export function InputFilter(props: InputProps) {
Expand Down Expand Up @@ -58,6 +59,7 @@ export function InputFilter(props: InputProps) {
}}
renderInput={renderInput}
filterSuggestions={props.filterSuggestions}
autoHighlight={props.autoHighlight}
/>
<a
onClick={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export function WorkflowFilters(props: WorkflowFilterProps) {
))}
</ul>
</DropDown>
<InputFilter value={props.nameValue} name='wfNameFilter' onChange={value => props.setNameValue(value)} filterSuggestions />
<InputFilter value={props.nameValue} name='wfNameFilter' onChange={value => props.setNameValue(value)} filterSuggestions autoHighlight={false} />
</div>
<div className='columns small-2 xlarge-12'>
<p className='wf-filters-container__title'>Labels</p>
Expand Down

0 comments on commit 738268c

Please sign in to comment.