How to show "quantity" input along with "add to cart" button in results using InstantSearch Magento 2?

Hello, Have someone tried to show quantity input in instantsearch results page? I like it to be visible so that a user can enter the quantity they want to add to cart while on the results page. Any help would be much appreciated.

that will depend on how your add to cart button normally works, but this should be possible with the item template of hits: hits | InstantSearch.js | API parameters | API Reference | Algolia Documentation.

Have you tried that already and got stuck somewhere?