Delay name search in store team management.
Description
When adding new members to a store's team, the immediate start of a search for foodsavers on the first keystroke freezes the site.
Goal
Improve performance of search when adding new members.
Evidence
Just try adding a new member to a store, enter a
and wait for a list of all(?) Foodsavers with an "a" in their name showing up.
Solution
- Only search for members in the region (might actually also be a privacy concern anyway)
- Delay start of search by e.g. 5s
- Don't start search until e.g. 3 characters have been entered