- 🇮🇳India prashant.c Dharamshala
Version 3.x will offer integration with Webform as a Bootstrap DateTime field as an element, although there are currently some unresolved issues such as the one mentioned in https://www.drupal.org/project/bootstrap_datetime_picker/issues/3348417 🐛 Call to an undefined method Drupal\bootstrap_datetime_picker\Plugin\WebformElement\BootstrapDateTime::datePickerExists() Fixed . Contributions in the form of patches etc. are welcome to help address these issues.
- Status changed to Needs review
over 1 year ago 10:48am 27 March 2023 - 🇮🇳India prashant.c Dharamshala
There are still issues with the "Bootstrap Date Time" element provided by the Drupal module found in the latest release of https://www.drupal.org/project/bootstrap_datetime_picker/releases/3.0.0-... → when integrated with webforms. However, there is a patch attached to this message that addresses the problem, although it only works for date formats with numeric values such as d-m-y, d-m-Y, d-m-y H:i, and so on. To test this element, follow these steps:
- Log in as an admin on your Drupal website and enable the required modules including webform.
- Access "/admin/structure/webform".
- Click on "Build" for any of the listed webforms, such as the "contact" webform at "/admin/structure/webform/manage/contact".
- Click on the "Add element" button.
- A popup will appear, search for "bootstrap", and you will find a new element named "Bootstrap Date Time".
- Click on the "Add element" button shown next to the element, configure the element, and hit "Save".
- Now, to view the Bootstrap Date Time element on your webform, click on the "View" button or enter the "/form/contact" URL for the contact form. Once you see the element, click on it and a pop-up will appear for selecting a date.
I would appreciate it if you could provide your feedback or comments. Thank you.
- Status changed to Fixed
over 1 year ago 6:18am 28 March 2023 - 🇮🇳India prashant.c Dharamshala
Automatically closed - issue fixed for 2 weeks with no activity.