Have a widget not trigger an immediate update?

Hey! Is it possible at all to config a widget so that it will not immediately update the page? Suppose I want to change a few different parameters, then press a “Run!” button to update the results. Ideally, only the button would trigger an update.

Thanks!

1 Like

Hi @rmmartins! Welcome to the community! :heart:

I think you’re looking for this future feature. Please feel free to follow it on Github to get updates, and add comments to explain your use case better.

However, you can get this feature now by copying cache_on_button_press from this gist. The basic idea is to pass all the settings above the confirm button into the cached function.

Please reach out if you have further questions or if this solution isn’t what you wanted. Happy creating! :slight_smile:

1 Like