mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-21 15:59:48 +01:00
Fix repository file search (#1867)
This commit is contained in:
committed by
René Pfeuffer
parent
02bcee5603
commit
e58d3dd70c
@@ -67,20 +67,17 @@ const FilterInput: FC<Props> = ({ filter, value, testId, placeholder, autoFocus,
|
||||
};
|
||||
|
||||
return (
|
||||
<form
|
||||
className={classNames("input-field", className)}
|
||||
onSubmit={handleSubmit}
|
||||
{...createAttributesForTesting(testId)}
|
||||
>
|
||||
<form className={classNames("input-field", className)} onSubmit={handleSubmit}>
|
||||
<div className="control has-icons-left">
|
||||
<FixedHeightInput
|
||||
className="input"
|
||||
type="search"
|
||||
placeholder={placeholder || t("filterEntries")}
|
||||
value={stateValue}
|
||||
onChange={(event) => setStateValue(event.target.value)}
|
||||
onChange={event => setStateValue(event.target.value)}
|
||||
autoFocus={autoFocus || false}
|
||||
aria-describedby={id}
|
||||
{...createAttributesForTesting(testId)}
|
||||
/>
|
||||
<span className="icon is-small is-left">
|
||||
<i className="fas fa-filter" />
|
||||
|
||||
Reference in New Issue
Block a user