rstudio/shiny

Add support for ifelse logic in conditionalPanel

Open

#843 opened on May 22, 2015

View on GitHub
 (3 comments) (4 reactions) (0 assignees)R (5,649 stars) (1,890 forks)batch import
Difficulty: IntermediateEffort: LowHelp WantedPriority: LowType: Enhancement :bulb:

Description

Many times I want to do something along the lines of

conditionalPanel("input.test", "yep"),
conditionalPanel("!input.test", "nope")

Some syntactic sugar here would be awesome :) Hopefully the above could be translated into

conditionalPanel("input.test", iftrue = "yep", iffalse = "nope")

(clearly I'm not great at naming arguments)

Contributor guide