Open nstrayer opened 3 years ago
Updated to the much simpler method of switching the theme suggested by Carson.
I also tried to add bootstrap version switching to test but we realized that it's not actually possible to switch bootstrap versions within a running app due to just updating style sheets and not JS. See https://github.com/rstudio/shiny/issues/3202 for more details.
Forgot to mention that this test requires this PR to shinyvalidate
to properly render the feedback messages.
Will also need https://github.com/rstudio/shinyvalidate/pull/47
This app tests primarily shinyvalidate but also uses bslib to repeat the same test with three different bootswatch styles.
Currently, the app only tests a subset of the bootswatches (this could be programmatically made to do all but may be computationally too expensive/unnecessary.
Screenshot of app on load: