diff --git a/platform/ui/src/components/InputDateRange/InputDateRange.jsx b/platform/ui/src/components/InputDateRange/InputDateRange.jsx index 1ab06074e..1cb79e04f 100644 --- a/platform/ui/src/components/InputDateRange/InputDateRange.jsx +++ b/platform/ui/src/components/InputDateRange/InputDateRange.jsx @@ -12,12 +12,18 @@ const InputDateRange = ({ onChange, }) => { const { startDate, endDate } = value; + + const onClickHandler = (event) => { + event.preventDefault(); + onLabelClick(event); + }; + return (
{ }; + InputDateRange.defaultProps = { value: {}, + onLabelClick: noop }; InputDateRange.propTypes = {