Reputation: 143
How do I hide (or disable) the title and arrows when I'm using time only?
I'm using angular-bootstrap-datetimepicker v1.1.4
https://github.com/dalelotts/angular-bootstrap-datetimepicker
Upvotes: 0
Views: 942
Reputation: 1281
If you just want the times shown for a particular date and do not want the user to navigate out of it, an option you have is to hide the top section (the left arrow, date title and right arrow). Since the calendar is defined within a table
, the change to do this is pretty simple; just add a css
property to hide the thead
of the datetimepicker
. Note you'll probably still want to look for date change events and such and disable them. Take a look at the jsfiddle below, with a working example:
Upvotes: 1