Calendar v17: Show Selected Dates Inline
- Average speed
- km/h
- Result
- Finish time
- 50 min
- You entered
- Distance
- 10 km
- You entered
Yes, Calendar v17 can display selected dates inline on the page, meaning the chosen date or date range appears directly in the calendar grid without requiring a separate field or popup. This behavior is controlled by a setting in the view configuration, and it works for both single-date and multi-date selections.
Formula
The calculator above is a pace calculator, not related to Calendar v17. It computes your average pace (minutes per kilometer) by dividing total time in minutes by distance in kilometers, and speed (km/h) by dividing distance by time in hours. The formulas are:
- Pace = t ÷ d, where t is time in minutes and d is distance in km.
- Speed = d ÷ (t ÷ 60), where t is time in minutes and d is distance in km.
Worked Example
Using the defaults: t = 50 minutes, d = 10 km. Pace = 50 ÷ 10 = 5.00 min/km. Speed = 10 ÷ (50 ÷ 60) = 10 ÷ 0.8333 = 12.00 km/h.
Background: What “Inline” Means in Calendar v17
In Calendar v17, “inline” refers to rendering the selected date(s) directly inside the calendar grid cell, rather than in a separate input box or a popup that appears after clicking. This is a common request from users who want a quick visual confirmation of what they’ve picked, especially when booking appointments or scheduling events.
The feature is part of the calendar’s “selection display” options. By default, many versions show the selected date in a text field below the calendar. v17 introduced a toggle that moves that display into the cell itself, often as a highlighted background or a small badge with the date number.
How to Enable Inline Selected Dates
To turn on inline display in Calendar v17:
- Open the calendar’s settings or configuration panel (gear icon or right-click menu).
- Look for a section named “Selection” or “Display”.
- Find the option “Show selected date inline” or “Display selection in cell”.
- Enable it and save. The selected date will now appear directly in the grid cell, often with a colored highlight.
If you don’t see the option, your version might be an older build or a customized deployment. Check the version number in the About dialog; v17.0 and later should include it.
Common Problems and Fixes
Users often report that inline display doesn’t work after updating. Here are typical issues:
- Setting not saved: Make sure you click “Apply” or “OK” after changing the setting. Some builds require a page refresh.
- Theme conflict: Custom CSS themes can hide the inline text. Try switching to the default theme temporarily.
- Multi-date range: If you select a range, the inline display may only show the start and end dates, not the entire span. That’s normal.
- Mobile view: On small screens, inline text may be truncated due to limited cell width. Rotate your device or use landscape mode.
How to Choose Between Inline and External Display
Deciding whether to use inline display depends on your use case:
- Inline: Best for quick visual confirmation, especially when you have many dates to pick and want to see them all at once.
- External field: Better when you need to copy the date, or when the calendar is embedded in a small widget where space is tight.
In v17, you can switch between modes at any time without losing your selected dates.
Comparison with Previous Versions
Earlier versions (v15, v16) did not have an inline option; the selected date always appeared in a separate input. v17 added this as a user-requested feature. The implementation is similar to what many JavaScript date-picker libraries offer, but it’s built into the core so no extra plugins are needed.
Limitations and What to Watch For
Inline display has a few limitations:
- It may not work with certain accessibility tools, as the text is part of the grid cell rather than a form field.
- If you use a custom date format (e.g., “dd-mm-yyyy”), the inline text might be too long for the cell. Short formats like “dd/mm” work best.
- In some browsers, the inline text doesn’t update until you click outside the calendar. This is a known quirk, not a bug.
Frequently Asked Questions
Q: Does inline display work with range selection?
A: Yes, but only the start and end dates are shown inline. The intermediate days are highlighted but not individually labeled.
Q: Can I customize the color of the inline selected date?
A: Yes, you can change the highlight color via the theme settings or by adding custom CSS targeting the selected cell class.
Q: Why doesn’t inline display show the year?
A: By default, the inline text uses the date format set in your locale. If your format doesn’t include the year, it won’t appear. You can change the format in the settings.
Q: Is inline display available in the free version of Calendar v17?
A: The feature is part of the core, so it’s available in all editions. Some premium themes might override it, though.
Q: How do I revert to the old external display?
A: Simply turn off the “Show selected date inline” option in the settings. Your selected dates remain intact.
Related
Formula used
in t | Finish time | min | 50 | 0 in d | Distance | km | 10 | 0 out pace | Average pace | min/km | t / d | 2 out speed | Average speed | km/h | d / (t / 60) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.