rstudio/shiny

Add support for ifelse logic in conditionalPanel

Open

#843 ouverte le 22 mai 2015

Voir sur GitHub
 (3 commentaires) (4 réactions) (0 assignés)R (1 890 forks)batch import
Difficulty: IntermediateEffort: LowHelp WantedPriority: LowType: Enhancement :bulb:

Métriques du dépôt

Stars
 (5 649 stars)
Métriques de merge PR
 (Merge moyen 9j) (4 PRs mergées en 30 j)

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)

Guide contributeur