Custom date selectors / date picker

could you please provide a sample project in codesandbox on how to use custom datetime selector/picker on search-ui ?
I'm referring to this post, recommending custom components: Filter search by date in search-ui

hey @sg09 :

You can write your own datetime selector / picker, or choose one built for React (like this one)

Please check the build your own component guide to understand how to use withSearch to interact with Search UI.

You can use the filters state to look up the currently applied filters, and use the setFilter action to apply filters.

Hope this helps!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.