{"id":18617030,"date":"2025-08-28T07:43:47","date_gmt":"2025-08-28T07:43:47","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/booked-slots-shown-as-available-on-2nd-entry\/"},"modified":"2025-08-28T07:44:59","modified_gmt":"2025-08-28T07:44:59","slug":"booked-slots-shown-as-available-on-2nd-entry","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/booked-slots-shown-as-available-on-2nd-entry\/","title":{"rendered":"Booked slots not displayed anymore on 2nd entry"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I integrated the step-by-step booking form 2.0 into a page (via shortcode and a trigger button, opening in a popup) allowing visitors to book timeslots for appointments in the frontend. The form is configured to display both booked and available slots. The timeslots are 15-minute service slots. The assigned employee is configured to be only available within standard working hours on a few individually selected (special) days. Works fine in general.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But there seems to be a small issue when the user selects a date (and only a date, not clicking on any timeslot next) and then closes the popup via X. When opening the popup a 2nd time, the previously selected date is still preselected, but the booked slots are not displayed anymore, only the available ones.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Not sure if the preselected date is a good thing here, some users might be confused that the popup automatically scrolls down to the timeslots on 2nd entry. Yet I wouldn&#8217;t classify that as a bug, could also be seen as a feature.<br \/>But not displaying the booked slots on 2nd entry is a bug. Would be great if you could look into this.<\/p>\n","protected":false},"template":"","class_list":["post-18617030","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18617030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18617030\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18617030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}