mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DateTimePicker: Return cleared value in onChange (#88377)
* DateTimePicker: Return cleared value in onChange * Update story
This commit is contained in:
@@ -80,7 +80,7 @@ export const widgets: Widgets = {
|
||||
return (
|
||||
<DateTimePicker
|
||||
onChange={(e) => {
|
||||
props?.setValue(e.format(BasicConfig.widgets.datetime.valueFormat));
|
||||
props?.setValue(e?.format(BasicConfig.widgets.datetime.valueFormat));
|
||||
}}
|
||||
date={dateValue}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user