Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Mode Change Tracking in RelativeDataPicker #170

Open
onair-lena opened this issue Feb 4, 2025 · 0 comments
Open

Feature Request: Add Mode Change Tracking in RelativeDataPicker #170

onair-lena opened this issue Feb 4, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@onair-lena
Copy link

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.
@korvin89 korvin89 added the enhancement New feature or request label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants