Tempus-dominus: ShowClose does not render a close icon when SideBySide is set true

Created on 17 Aug 2015  路  9Comments  路  Source: Eonasdan/tempus-dominus

See http://codeply.com/go/3LRYUygdiL

In the second example, there is no close button anywhere. If this is "working as intended" it should at least be documented, but I would prefer seeing a close button actually be rendered (perhaps at top-right, where users would normally look).

Most helpful comment

I discovered that setting toolbarPlacement:'bottom' in the initialize options fixes this.

All 9 comments

This problem also extends to clear button not shown in sideBySide mode.
Any fix or workaround?

have either of you tried the latest version?

Downloaded master branch today

Updated the codeply; problem persists. http://www.codeply.com/go/3LRYUygdiL

Hm. Either there's a more recent change without a new version number, or the CDN at CloudFlare is lying about what version it has and the comments at the top of the files are bogus too.
https://jsfiddle.net/thwfgL6n/1/

Also not working for me, also on latest version.

I discovered that setting toolbarPlacement:'bottom' in the initialize options fixes this.

Confirming that @waltsatan solution works, without that option, the close/clear/today buttons do not show.

Was this page helpful?
0 / 5 - 0 ratings