You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: