Module version 1.1.8 doesn't work

Created on 24 February 2025, about 2 months ago

Problem/Motivation

I've been trying to make this module to work because I need to add it to a booking form on a hair salon website I am working on but I cannot get it to work. I have several issues and I've been looking for a demo or documentation or explanation while mousing over the "?" but nothing I am struggling to make it work.

1: It takes some time to load the calendar inside the form but very slow. It appears a long time after other inputs which is very poor for user experience.
2: I have the month of January displayed instead of February, the current month and when I change from one month to the other it takes minutes to show the following month. Then it will not display another month. It's buggy.
3: Slots available are not showing up, nor are the seats. I only have the calendar and a non-needed input text before it. I understand this input is supposed to catch data so I changed it to a hidden field instead of text.
4: I cannot click on a day to see what days have slots to book. Nothing is allowing me to do so and the slots are not showing anyway even if I've selected 30 minutes.
5: For better user experience it would be great to have arrows where you can click next to the month to see the following/previous month. The module webform_booking_calendar (Not the experimental one but the one we can download) has a calendar that works "fine" for me, I see the current month, and I have the arrows to move to next month and previous months. I can also click on a day but here I don't have the slots showing up for someone to book an appointment.
6: For working time, it would be great if we could configure per day. For example, opening time for Monday, Tuesday, Wednesday,...
7: We cannot change the slot time: For example, someone comes for a long service so then he can book for 1 hour, for another appointment they can book for 20 minutes. Then the slot time should change based on the service the client wants.
1st thing would be to select the service you want and based on that it displays the slots available.
8: Ideally this module would be great if it was doing everything this one can do: https://wordpress.org/plugins/appointment-booking-calendar/#description

Steps to reproduce

Just download the last version of the module and fill in the inputs and it doesn't work.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇲🇶Martinique delphine947

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @delphine947
  • 🇵🇹Portugal rfmarcelino

    Thank you delphine947 for your feedback.
    Unfortunately, I can't replicate your issues.
    If it takes too long to create the calendar, you may need to check your machine resources.
    I created a quick guide to test the module:
    https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib...
    I used those steps, and it seems to be working well.
    Check your Drupal logs and browser logs for error messages.

    BTW, this is a completely free and community-driven module/plug-in, unlike the Wordpress plugin.
    Everyone is invited to collaborate or support the efforts.

  • 🇨🇦Canada nkind

    I can confirm it doesn’t work for me either. The only issue I see in the console is a mismatched label, but nothing else—no additional errors and nothing in the logs. I set it up with the default configuration, but the month dropdown doesn’t select correctly; it jumps to a different month than the one chosen. All calendar options are greyed out, and none of the times shown in the screenshots appear. I’ll try to investigate further when I have time, but at a glance, there’s no useful information to start debugging.

  • 🇲🇶Martinique delphine947

    @Nkind You're lucky that you can see the current month. For me, the current month is not showing up. It's January 2025.
    The slots are not displayed. I have exactly the same as you and I've removed the "Choose" and the input that I don't need.
    I cannot even view another month, it doesn't work.

    @rfmarcelino My machine is ok but since the calendar is created thru JS it doesn't show up until the JS has fully loaded while the user can see the rest of the webform fields. For me, it takes forever and a user will never think there is a calendar since it takes too much to load.
    I cannot click on a day to see which slots are available to book. But the major problem is that the slots are not even displayed and it's not possible to click on a day either.

    The WordPress module is free.

    Thanks for your great work because I think this type of module is very needed nowadays but it doesn't work at all for me.

  • 🇵🇹Portugal rfmarcelino

    This looks like a date format issue. The US, unlike most countries, uses a format like MM/DD/YYYY.
    You can adjust your country on the settings page /admin/config/services/webform-booking

    I made a test, masking as US, and the location was set to the US and worked:

  • 🇲🇶Martinique delphine947

    Thanks it was correctly set up to US but no change at all. I don't have the slot showing, I cannot click on a date.

    Also what if I don't want a start date and no end date either? For example, a doctor, a hair salon, or a sauna you want to book an appointment. It's not possible do to this with this module.

    Also if you want to book a sauna session that lasts one and a half hours and another client wants to book just a massage that lasts 30 minutes. You cannot.

    I truly appreciate your efforts because it's hard to build modules but I don't think this module will fit my need.

  • 🇧🇷Brazil irafah

    Thanks for reporting that, @delphine947

    I'm having the same issues mentioned in the description. I have been investigating the issue, but so far no luck

    I would appreciate it if a solution for this could be provided. In the meantime, I will check if I can find what is causing it
    Thank you!

Production build 0.71.5 2024