DateRangePicker - disabledDates()

Hi guys, I have a problem with the update or the reactivity of the "disabledDates()" function. I would like to achieve the following. An item is selected in my BookingPosition-repeater, the DateRangePicker should then block the periods where the item already has bookings based on the selected item. Currently, I only see blocked periods if both the item and the date are already in the database. If I add a new position with the repeater, no date is loaded. What can I do about that? Screenshot 1: Item and DateRange are in DB -> disabledDates show Screenshot 2: On the 2nd screenshot you can see that the item "Kran" was selected, but the disabledDates are not loaded or updated. According to the \Log, the data is read based on the item. They just don't show up.
No description
No description
2 Replies
Gojim/Paul
Gojim/PaulOP2mo ago
CodeSnippet from DateRangePicker:
Gojim/Paul
Gojim/PaulOP2mo ago
No description
Want results from more Discord servers?
Add your server