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 (1,890 forks)batch import
Difficulty: IntermediateEffort: LowHelp WantedPriority: LowType: Enhancement :bulb:

Repository metrics

Stars
 (5,649 stars)
PR merge metrics
 (Avg merge 9d) (4 merged PRs in 30d)

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