Describe the bug
When wrapped in an EuiForm with the component set to form, the EuiSuperDatePicker will refresh the page while you are setting the date fields
Impact and severity
Low
Environment and versions
Replicated in provided Code Sandbox on EUI's website EUI version 92.2.1
To Reproduce
Steps to reproduce the behavior:
- Wrap an EuiSuperDatePicker with an EuiForm with component='form' set
- Select the EuiSuperDatePicker to get the start date -> end date to appear with a popover open on the start
- Click on the start or end buttons (as if to close the start popover or open the end popover)
- Notice that the page refreshes
Expected behavior
When the start or end date picker popovers close, the page should not refresh. It should instead continue on as normal.
Minimum reproducible sandbox
sandbox
Additional context
Did not occur when component was not set to 'form'
Describe the bug
When wrapped in an EuiForm with the component set to form, the EuiSuperDatePicker will refresh the page while you are setting the date fields
Impact and severity
Low
Environment and versions
Replicated in provided Code Sandbox on EUI's website EUI version 92.2.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the start or end date picker popovers close, the page should not refresh. It should instead continue on as normal.
Minimum reproducible sandbox
sandbox
Additional context
Did not occur when component was not set to 'form'