Hi, I need to set NULL to reactive when a button is clicked. In my example below 'data' (as module parameter) is passed as reactive from other module. Now, I want to click button and set NULL to reactiveExpr . The way I'm doing it here is not working. I don't need set NULL to reactive base on any condition, just by clicking the button.
Do you want the 0bject to contain data at first and then clear from button press and never again ? Or is there supposed to be some condition to refill?.
In general to do one or another thing based on conditions if-else logic can be used.