This is the React InstantSearch v7 documentation.
If you’re upgrading from v6, see the upgrade guide.
If you were using React InstantSearch Hooks,
this v7 documentation applies—just check for necessary changes.
To continue using v6, you can find the archived documentation.
HTML
Update input attributes
Set these attributes on the HTML input element to turn off the browser’s default behavior:HTML
In Chrome,
autocomplete="off" doesn’t work.
In Chrome, you can turn off autocomplete
by setting the attribute to an invalid value like autocomplete="nope".
The same solution doesn’t work in Firefox (it disregards the invalid value and reverts to the default autocompletion behavior).