Skip to content

Feature request: dateInput validation #69

@BajczA475

Description

@BajczA475

I'm guessing there is already a way within the current shinyvalidate infrastructure (I'm new to using the package) for doing this, but it'd be nice if there was a baked-in sv_date() function for validating whether users have provided a valid date (using a specific format) to a dateInput.

The reason this is useful, among other reasons, is that users don't have to use the date picker with this input. Instead, they can use the backspace/delete keys to empty the input box and then type a date manually. Except they can also type gibberish to a large extent, in my experience! Shiny attempts to coerce what is entered to a date, but this can lead to nonsensical inputs...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions