Skip to content

Updating filters in filter_data_ui() as in select_group_ui() #86

@joshpersi

Description

@joshpersi

Hello,

I am developing a Shiny app that includes several mutually dependent (i.e. bidirectional) filters of several data types (e.g. character, numeric, date). I would like the values of each filter to update on the fly based on the selections in other filters, as is possible with the example featured in select_group_ui(), where selecting Manufactuer == "Acura" will update the Type filter and only Midsize and Small will be selectable.

However, this functionality doesn't seem to be the default in filter_data_ui(). Running the example from the documentation, the filters don't seem to update based on user inputs to other flters (e.g. selecting species == "virginica" does not update the numeric inputs to reflect the ranges actually observed for that species).

Is it possible to achieve this auto-updating-filter functionality with filter_data_ui()?

Many thanks,

Josh

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