Wappler 6.8.0, NodeJS, Mac, No Console Errors
Before i spend too much time on this, just trying to figure out if it should work and I am doing something wrong, or if it not meant to work this way.
I have a bunch of appointments displayed below
I do not want to show this calendar to the end user at all, I just put it there to try troubleshoot this issue.
Basically I would like a datepicker with time included, or a daterange picker with time, I have tried both.
According to the data shown on the calendar, which has been set as the daterange pickers invalid dates, with its start and end, i should not be able to choose the date 23-06-2025 17:00 - 23-06-2025 18:30, howver should still be able to select another time on that same 23-06-2025
I have tried the following
Test 1
<input id="date_range_av_caity" name="date_range_av_caity" is="dmx-date-range-picker" showdropdowns="true" timepicker="" use24hours="true" minutes-increment="30" dmx-bind:mindate="var_current_date.datetime" dmx-bind:maxdate="var_current_date.datetime.addYears(1)" data-rule-time="" dmx-bind:invaliddates="sc_google_calendar_nails_caity.data.final_salon_booked_and_post_block" invaliddates-start="startDateTime" invaliddates-end="endDateTime">
Test 2
<input id="date_range_av_caity" name="date_range_av_caity" is="dmx-date-range-picker" showdropdowns="true" timepicker="" use24hours="true" minutes-increment="30" dmx-bind:mindate="var_current_date.datetime" dmx-bind:maxdate="var_current_date.datetime.addYears(1)" data-rule-time="" dmx-bind:invaliddates="sc_google_calendar_nails_caity.data.final_salon_booked_and_post_block" invaliddates-start="startDateTime.formatDate('yyyy-MM-dd HH:mm:ss')" invaliddates-end="endDateTime.formatDate('yyyy-MM-dd HH:mm:ss')">
Test 3
<input id="date_range_av_caity" name="date_range_av_caity" is="dmx-date-range-picker" showdropdowns="true" timepicker="" use24hours="true" minutes-increment="30" dmx-bind:mindate="var_current_date.datetime" dmx-bind:maxdate="var_current_date.datetime.addYears(1)" data-rule-time="" dmx-bind:invaliddates="sc_google_calendar_nails_caity.data.final_salon_booked_and_post_block" invaliddates-start="startDateTime.replace('Z','').formatDate('yyyy-MM-dd HH:mm:ss')" invaliddates-end="endDateTime.replace('Z','').formatDate('yyyy-MM-dd HH:mm:ss')">
Sadly none of them do what I am wanting.
Here is the data i am giving it
Any advice would be appreciated. I feel like this should work? I also tried the other way around by using Custom Dates and that did not do it either sadly.