Skip to content

Feature Request: Add Mode Change Tracking in RelativeDataPicker #170

@onair-lena

Description

@onair-lena

Hello!

Currently, the RelativeDataPicker component allows users to switch between "absolute" and "relative" modes by click on f(х) button. However, there is no built-in way to track when the mode is switched. This limits the ability to customize the UI based on the selected mode.

It could be nice to have a callback or event that triggers when the mode is changed. This would allow to dynamically adjust the UI based on the selected mode. For example:

  • When "absolute" mode is selected, a calendar could be displayed in a popup.
  • When "relative" mode is selected, a set of predefined presets (e.g., "Last 7 days", "Last 30 days") could be shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions