Closed (won't fix)
Project:
Bootstrap Date & Time picker
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2015 at 15:45 UTC
Updated:
12 Aug 2017 at 16:18 UTC
Jump to comment: Most recent
Comments
Comment #2
sweetchuckYes. First time I tried to implement a new widget type as you are suggesting, but 2-3 week latter a give up, because the date module only supports the "official" widgets.
In the form element creation process and in the validation process there are several hardcoded things which make very-very difficult to create a new widget.
I should have reimplement (copy-paste or whatever) the half of the date module.
For example http://cgit.drupalcode.org/date/tree/date.module#n45
Comment #3
milos.kroulik commentedThanks for the answer. Sadly, I'm not surprised.
Comment #4
gisleI understand.
So I need to use some workaround (similar to the one provided for the Authored field).
It would be helpful to inform about this design decision and its rationale in the README and/or project page. That should stop people (like me) who are unaware of this from opening new issues to request a widget.
Thanks for the explanation tho'.