rstudio/shiny

Add support for ifelse logic in conditionalPanel

Open

#843 aperta il 22 mag 2015

Vedi su GitHub
 (3 commenti) (4 reazioni) (0 assegnatari)R (1890 fork)batch import
Difficulty: IntermediateEffort: LowHelp WantedPriority: LowType: Enhancement :bulb:

Metriche repository

Star
 (5649 star)
Metriche merge PR
 (Merge medio 9g) (4 PR mergiate in 30 g)

Descrizione

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)

Guida contributor