8000 Triggering a custom action when a filter value is selected · Issue #1117 · mckinsey/vizro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Triggering a custom action when a filter value is selected #1117
Open
@fpeucelle

Description

@fpeucelle

Question

Hi Vizro team 👋

I'm wondering if it's currently possible to trigger a custom action when a user selects a value from a filter component (e.g., vm.Filter using Dropdown or RadioItems).

My use case is: when a user selects a value (e.g., a judicial district), I’d like to dynamically update the title of a chart or a related header—similar to how this can be done using clickData from a vm.Graph.

I’ve managed to implement this behavior using clickData, but I couldn’t find a way to do the same with a Filter.

Is this currently possible? Or is there a plan to support something like filterData as an input for @capture("action") custom functions?

Thanks in advance for your help and for this great project 🙌
Greetings from Chubut, Patagonia, Argentina 🇦🇷

Code/Examples

No response

Which package?

vizro

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0