Just use a search icon, so when users enter their input they need to click on search icon to get results. This way search is only triggered when intended.
U can use local storage plugin to store temporary data