ebailey78 / shinyBS

Twitter Bootstrap Components for Shiny
182 stars 47 forks source link

Collapse Panel defaults to closed regardless #24

Closed erikwestlund closed 9 years ago

erikwestlund commented 9 years ago

I want a single collapse panel, defaulting to open.

  bsCollapse(multiple = FALSE, open = "filters", id = "filterBar",
             bsCollapsePanel("Data Filter", "Cell treachery spearwife night's watch, tower suckling ...", id="filters", value="1"))

It loads but by default it's closed and the user must open it

ebailey78 commented 9 years ago

bsCollapsePanel does not accept an id attribute. If you change to value = "filters" then it should work.

erikwestlund commented 9 years ago

I'll give it a shot... you may want to update your demo on the Spark page :)

[image: Inline image 1]

On Fri, Apr 10, 2015 at 6:19 AM, Eric notifications@github.com wrote:

bsCollapsePanel does not accept an id attribute. If you change to value = "filters" then it should work.

— Reply to this email directly or view it on GitHub https://github.com/ebailey78/shinyBS/issues/24#issuecomment-91520253.

ebailey78 commented 9 years ago

Unfortunately I didn't put that demo up, and I don't have any access to it... It is for a pre-bootstrap3 version of shinyBS. I didn't even realize that it was still there. I will try to contact the guy who put it up and see if he will take it down. Thanks.

erikwestlund commented 9 years ago

ah, sorry, i thought it was yours

On Fri, Apr 10, 2015 at 8:09 AM, Eric notifications@github.com wrote:

Unfortunately I didn't put that demo up, and I don't have any access to it... It is for a pre-bootstrap3 version of shinyBS. I didn't even realize that it was still there. I will try to contact the guy who put it up and see if he will take it down. Thanks.

— Reply to this email directly or view it on GitHub https://github.com/ebailey78/shinyBS/issues/24#issuecomment-91551403.

ebailey78 commented 9 years ago

Not a problem at all. Thanks for pointing it out. It explains some other questions I've gotten! I did make the demo but John Harrison posted it to spark. I just emailed him and asked him to remove it.Thanks again.

johndharrison commented 9 years ago

@ebailey78 I have taken down the demo for shinyBS bs2. Great package btw :thumbsup:

ebailey78 commented 9 years ago

@johndharrison Thank you