Skip to content

Add unique DOM identifiers to inputs #737

Open
@daattali

Description

@daattali

I think it would be a good idea to add unique classes to the shiny-input-container of any input. There are many inputs that already have some class that can make it possible to tell what the input is, but for consistency it would be nice if all inputs had a class on the same DOM element and followed the same format that we can rely on. For example, a switchInput could have sw-switch-input.

This is especially important for the following inputs that I could not find any reliable uniquely identifying features, so I cannot make them work with shinyjs::reset(): airDatepickerInput, airMonthpickerInput, airYearpickerInput, checkboxGroupButtons, textInputAddon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions