It's a weird behavior, but I concluded some options breaks others, is this something I'm missing? I'm using simple form. and the inline doesn't hide the input but put the widged in a way fit in mobile...
picker.js
$(document).on('ready page:change', function() {
$('.datetimepicker').datetimepicker({
showTodayButton: true,
toolbarPlacement: 'top',
showClear: true,
inline: true,
sideBySide: true,
locale: moment.locale(navigator.language)
// put here your custom picker options, that should be applied for all pickers
It's a weird behavior, but I concluded some options breaks others, is this something I'm missing? I'm using simple form. and the inline doesn't hide the input but put the widged in a way fit in mobile...
picker.js
$(document).on('ready page:change', function() { $('.datetimepicker').datetimepicker({ showTodayButton: true, toolbarPlacement: 'top', showClear: true, inline: true, sideBySide: true, locale: moment.locale(navigator.language) // put here your custom picker options, that should be applied for all pickers
});