Hi @Ajay_Chakravarthy -
Yes, it is possible to have the results gated based on clicking a submit button. If I’m not mistaken (I can’t find it as this exact moment), @okld has created an example of this along with using our shared state workaround.
This is a fundamental property of the Streamlit architecture, so it’s not something that can be turned off. In this post, I briefly discuss the design decision for having the refresh model vs. the callback model:
Best,
Randy