rstudio / shinydashboard

Shiny Dashboarding framework
https://rstudio.github.io/shinydashboard/
Other
894 stars 298 forks source link

Could an empty box() return NULL ? #221

Open KZARCA opened 7 years ago

KZARCA commented 7 years ago

Hi, The contents of my boxes are dynamic (contain Output() functions). Sometimes the `render()function returns nothing, for instance with the use of thereq()` function. But the function box() returns:

<div class="col-sm-6">
  <div class="box">
    <div class="box-body"></div>
  </div>
</div>

I would like to use boxes inside ui.R, but I need to put it on the server side, because I find it not very esthetic. What do you think about it?