[ui.DatePicker] Multiple periods with an attached classname
For displaying multiple valid periods of time in the calendar it would be cool, if it's possible to define multiple "minDate" and "maxDate" options. Something like a multi-dimensional array with min-/maxDates could be used, I suppose. Another useful feature for this would be to add a CSS classname to each array element. With that you could highlight specific periods or just color them differently (think in terms of booking systems etc.)
With the above additions a calendar could contain multiple valid periods to either select from or display, while having different colors for each period.
Change History (9)
Owner: |
changed from paul to iMarc
|
Component: |
ui.core →
ui.datepicker
|
Version: |
1.2.3 →
1.5b4
|
Owner: |
changed from iMarc to grabanski
|
Status: |
new →
assigned
|
Owner: |
changed from grabanski to kbwood
|
Resolution: |
→ wontfix
|
Status: |
assigned →
closed
|
http://www.frequency-decoder.com/2006/10/02/unobtrusive-date-picker-widgit-update
The above date picker lets you add invalid dates in a YYYYMMDD-format with *-wildcards like:
Using such a format could be used to disable specific dates for selection in a very brief form.