Currently the "validation" is only some red text telling the user that they "must" input values that satisfy certain criteria.
Perhaps disappointingly, these messages are not true; the user can input the values, ignore the red messages, and click run and simulate a scenario with their specified inappropriate (as deemed by us) values.
Perhaps we should fix this!
So far I've used shinyFeedback to make the error messages:
https://cran.r-project.org/web/packages/shinyFeedback/vignettes/shinyFeedback-intro.html
I think there's the potential to use req to prevent "bad behavior", but I'm not totally certain. It might be that the way we use modules could make this difficult.
https://shiny.rstudio.com/articles/validation.html
Currently the "validation" is only some red text telling the user that they "must" input values that satisfy certain criteria.
Perhaps disappointingly, these messages are not true; the user can input the values, ignore the red messages, and click run and simulate a scenario with their specified inappropriate (as deemed by us) values.
Perhaps we should fix this!
So far I've used shinyFeedback to make the error messages:
https://cran.r-project.org/web/packages/shinyFeedback/vignettes/shinyFeedback-intro.html
I think there's the potential to use
reqto prevent "bad behavior", but I'm not totally certain. It might be that the way we use modules could make this difficult.https://shiny.rstudio.com/articles/validation.html