There's a Meteor wrapper for the bootstrap datetimepicker. In the bootstrap docs, you can specify selecting time only (#datetimepicker3). I want to do this in Meteor. I've tried using
{{> afQuickField name="departureTime" dateTimePickerOptions=timePickerOptions}}
timePickerOptions : function() {
return {
format : 'LT'
}
},
however this still shows the calendar (although it does allow you to select the time). Is there something I'm missing here?
try to load it with
your options, to be sure, that they are loaded before the template starts rendering..
{{#with timePickerOptions}}
{{> afQuickField name="departureTime" dateTimePickerOptions=this}}
{{/with}}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With