This is a PR for adding the code example for the #help-shiny channel in the NHS R Community.
The example shows how to use uiOutput to change the range of options for one input based on what's already been selected for the other input. (To avoid plotting a variable against itself on a scatterplot).
As requested/noted by Zoe Turner, having the example here will mean the code example won't get lost on the slack channel.
This is a PR for adding the code example for the #help-shiny channel in the NHS R Community. The example shows how to use uiOutput to change the range of options for one input based on what's already been selected for the other input. (To avoid plotting a variable against itself on a scatterplot). As requested/noted by Zoe Turner, having the example here will mean the code example won't get lost on the slack channel.