Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
datetime.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Apr 2015 at 09:14 UTC
Updated:
4 May 2015 at 10:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
googletorp commentedComment #2
googletorp commentedI've added a patch for this.
I've looked at how it's done for machine name fields and copied the style from there.
In order to make a date picker we need to have the date format which I've added to the date element, since the process function doesn't have access to the wrapper element.
Note: If testing this with the seven theme - it does some CSS overrides for jquery.ui theme, and thus the styles for the datepicker is more or less broken. I believe this should be handled in a separate issue.
Comment #3
vijaycs85Comment #4
googletorp commentedI made a mistake making the last patch, which included some changes for debugging JS behaviors.
Also some of the documentation was off.
New patch included.
Comment #5
Anonymous (not verified) commentedCommented on wrong issue /sorry for hassle/
Comment #6
googletorp commented@b0unty You should note there is a separate issue for the theming of the date picker, which will look different depending on which theme is being used. This issue is not about theming the date picker.
I mentioned the styling issues with the Seven theme in #2 and have added it as a related issue (see the right sidebar)
Putting this back to needs review.
Comment #7
gaëlgIsn't it a duplicate of #1835016: Polyfill date input type?
Comment #8
googletorp commentedLet's close this as duplicate, it's the same goal we are trying to achieve.