Skip to content

User Input Validation #6

Description

@ctesta01

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions