CreateImageWizard: add placeholder text to packages search bars

This commit is contained in:
Jacob Kozol 2021-11-01 13:21:29 +01:00 committed by Tom Gundersen
parent 9feccc66d6
commit 4b62b91733

View file

@ -133,6 +133,7 @@ const Packages = ({ defaultArch, ...props }) => {
<DualListSelectorPane
title="Available packages"
searchInput={ <SearchInput
placeholder="Search for a package"
data-testid="search-available-pkgs-input"
value={ packagesSearchName.current }
onFocus={ () => setFocus('available') }
@ -199,6 +200,7 @@ const Packages = ({ defaultArch, ...props }) => {
<DualListSelectorPane
title="Chosen packages"
searchInput={ <SearchInput
placeholder="Search for a package"
value={ filterChosen }
onFocus={ () => setFocus('chosen') }
onBlur={ () => setFocus('') }