R shiny: How to use removeUI in shiny module to hide action button

I want to hide an action button once it is clicked and when the input is not empty. Similar question has been asked here, and the provided solutions works very well. However, I don’t know how to make it work in a shiny module. Here is my example code: # module UI choice_ui <- function(id)… Read More R shiny: How to use removeUI in shiny module to hide action button