Not have button on search bar

Im trying to have a search box without buttons.


  <SearchBox searchAsYouType={true} submit={false} reset={false} />

Not sure how to do this.

The default search box has buttons, because these are recommended for mobile and other use cases. If you really want to avoid it, make a custom widget:

Don’t forget to also hide the native buttons then with css

thanks for the reply. Im curious why they are recommend for mobile. Since this is instasearch, i cant see why there would be a need for a submit button. Please help me understand.

Hi @iqbal125,

Different apps may have different needs, some may need to fire an event on hit of the submit button. It appears your implementation does not need the button.

We’re glad we were able to help you with the native CSS.