Gravatar for

Question by Deepa, Jan 17, 2019 3:57 PM

How can we create a Date Range Picker facet?


I have a News Page where we want to have the date picker as our date range facet instead of the default slider.

I found this link which has the exact need as i do but it is an old link

Do you have any documentation that could guid me with hive framework?

2 Replies
Gravatar for

Answer by olamothe, Jan 17, 2019 4:14 PM

Would this component do the job for you ?

You can see it in action if you click the "Show a live example of TimespanFacet" button in that documentation page.

If you really need a more complex "calendar date picker", then there is not out of the box component for this, and would require quite a bit of custom code.

Gravatar for

Answer by Jean-François L'Heureux, Jan 17, 2019 4:27 PM

The Coveo Labs GitHub account have a RangePicker component that could fit your needs:

I have never used it so I do not know what it looks like.

Gravatar for

Comment by Deepa, Jan 17, 2019 4:37 PM

I am looking for something like

TimeSpan and RangePicker are radio buttons and it will not do the job for me. Any other suggestions?

Ask a question