Hello,
I am rendering a list of resorts to a repeater and I would like to be able to populate a date picker with availability information for the specified resort room.
I saw that I can just call the enabledDateRanges function and pass in my availability info to the date picker, but when I try to call this for multiple items it ends up rendering the same availability information for each repeater item.
Is there a way to set the date range for each repeater item individually?
SOURCE: enabledDateRanges - Velo API Reference - Wix.com
CODE:
$w("#datePicker1").enabledDateRanges = res.availability.data