Webform Element Time Slots and Operations Bugs

Created on 29 October 2024, 2 months ago

Problem/Motivation

When an Office Hours element is added to a webform the Operations for time slots all link to "/" instead of performing the operation they should. Also, if the element has Number of time slots per day set to a number other than '1' the additional time slots are all visible for each day instead of having to use the "Add time slot" operation like an Office Hours field on a node. So, if you set Number of time slots per day to 5 for the element, each day will have 5 time slots visible instead of starting with just one and allowing a user to add up to an additional 4 for each day.

Steps to reproduce

Create a webform and add an Office Hours element (or import the YML file I have attached). Set the Number of time slots per day option for the element to any number other than '1', then save the element. View the form. Each day should have a number of time slots equal to the number you set. Also, clicking any of the operations for a time slot should take you to the site's frontpage.

🐛 Bug report
Status

Active

Version

1.0

Component

User interface

Created by

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

Comments & Activities

Production build 0.71.5 2024