mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
RelativeTimeRangePicker: Don't respond to submit event when nested in a form element (#60495)
This commit is contained in:
parent
48b33ab521
commit
68b044fb7c
@ -103,7 +103,7 @@ export function RelativeTimeRangePicker(props: RelativeTimeRangePickerProps) {
|
||||
|
||||
return (
|
||||
<div className={styles.container} ref={setMarkerElement}>
|
||||
<button className={styles.pickerInput} onClick={onOpen}>
|
||||
<button className={styles.pickerInput} type="button" onClick={onOpen}>
|
||||
<span className={styles.clockIcon}>
|
||||
<Icon name="clock-nine" />
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user