Add "Search all items" placeholder to item search

I was starting to write a Cypress test, and noticed there was no placeholder to use for searching, and I don't know how that escaped my notice for so long! I guess I commented it out for some reason, but I forget why, and this seems fine now! (Looks like we removed it when we added zone suggestions? Idk!)
This commit is contained in:
Emi Matchu 2021-02-04 22:23:34 -08:00
parent 7997be3386
commit b9aac7d8d2

View file

@ -270,8 +270,7 @@ function SearchToolbar({
</InputGroup>
)}
inputProps={{
// placeholder: "Search for items to add…",
"aria-label": "Search for items to add…",
placeholder: "Search all items…",
focusBorderColor: focusBorderColor,
value: query.value || "",
ref: searchQueryRef,