Catch or disable search button on device keyboard

I used the searchbar component as a general search from navbar.
It works great using the icons that I have created but I just found out that when a user presses the “search” text button on the device keyboard, nothing happens.
Is there a way to disable it (ie: I see just a “return” button on the kitchensink example)
or catch the event from the device keyboard.

Thanks

“search” or “return” depends on input’s type attribute. It will show “search” if it is input type="search", and you can handle this button click by handling keyboard Enter press event