I’ve created a custom widget for a date picker (powered by flatpickr) based on connectNumericMenu. I’ve also tested these recipes based on connectRange:
It is working OK, but it shows all dates and when the user selects a date, it applies a start condition.
It would be perfect if the date picker could show only the enabled dates dynamically. Check the control example “Disabling all dates except select few” https://flatpickr.js.org/examples/
Based on the connectMenu (renderMenuSelect), using this recipe: https://www.algolia.com/doc/api-reference/widgets/menu-select/js/#full-example, it almost works. However, the refine does not apply the start criteria.
Is it possible to change the behaviour of the connectMenu refine?