ebailey78 / shinyBS

Twitter Bootstrap Components for Shiny
182 stars 47 forks source link

Error in shinyBS:bsModal #28

Open manalikr opened 9 years ago

manalikr commented 9 years ago

Hi, Thank you for the module shinyBS. It was exactly what I was looking for. I am trying to use bsModal feature in my application. When I click on a button(trigger), it does open a form with desired controls on it. But it appears faded (the way it looks in case of an error in the R Shiny application), and if I click anywhere on the form it gets closed. Any help regarding this would be much appreciated, as this is one of the key features of my application.

Here is my code snippet:

bsModal("modeldataform", "Update Model Data", "buttonupdatemodel", size = "large", textInput("mmodel", label = "Model", value = "") textInput("meventset", label = "Event Set", value = ""), textInput("mportfolio", label = "Portfolio", value = ""), textInput("muserid", label = "Username", value = ""), actionButton("buttonsubmitum", "Submit", class="btn btn-primary", align = "right") )#End of bsModal

Regards, Manali

ebailey78 commented 9 years ago

I tried adding your modal to a test app and it seems to work (other than the missing comma after your first text input). Can you create a minimal example that doesn't work? Also, are there any errors reported to the R console when shiny crashes? Otherwise I'm not sure how to track down the problem.

Thanks,

Eric

manalikr commented 9 years ago

Thanks for a quick reply Eric. I could not see any errors in R console and I need to add it in my application, so it is quiet important tat it would work as a part of it. I am quiet new to R Shiny, so any inputs regarding debugging or tracing R Shiny error (specially when it is not seen in console) might help me.

Regards, Manali

On Thu, Apr 23, 2015 at 2:51 PM, Eric notifications@github.com wrote:

I tried adding your modal to a test app and it seems to work (other than the missing comma after your first text input). Can you create a minimal example that doesn't work? Also, are there any errors reported to the R console when shiny crashes? Otherwise I'm not sure how to track down the problem.

Thanks,

Eric

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

manalikr commented 9 years ago

Hi Eric,

I did try to create a minimal example almost similar to the Examples shown in your website, but still it does not work for me. Does it require specific version of R or has a dependency on any other packages?

Regards, Manali

On Thu, Apr 23, 2015 at 3:51 PM, Manali Kruthiventi manali.12@gmail.com wrote:

Thanks for a quick reply Eric. I could not see any errors in R console and I need to add it in my application, so it is quiet important tat it would work as a part of it. I am quiet new to R Shiny, so any inputs regarding debugging or tracing R Shiny error (specially when it is not seen in console) might help me.

Regards, Manali

On Thu, Apr 23, 2015 at 2:51 PM, Eric notifications@github.com wrote:

I tried adding your modal to a test app and it seems to work (other than the missing comma after your first text input). Can you create a minimal example that doesn't work? Also, are there any errors reported to the R console when shiny crashes? Otherwise I'm not sure how to track down the problem.

Thanks,

Eric

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