Remember previous searches IonSearch

The reason for the consultation is to ask you what is the best way to give intelligence to the search bar. That is, it stores the previous searches. Is there a way to do it whit autocomplete? I can not se a diference with autocomplete=“on”

return(<IonSearchbar type="text" placeholder="What services are you looking for" onIonInput={this.Search} ></IonSearchbar>);