rstudio/shiny

Add support for ifelse logic in conditionalPanel

Open

#843 geöffnet am 22. Mai 2015

Auf GitHub ansehen
 (3 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)R (1.890 Forks)batch import
Difficulty: IntermediateEffort: LowHelp WantedPriority: LowType: Enhancement :bulb:

Repository-Metriken

Stars
 (5.649 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T) (4 gemergte PRs in 30 T)

Beschreibung

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