I can't seem to view the 'changeDate' event being called. Does this gem alter the event binding? I'm trying to get the date via Javascript to update other attributes on the page.
$('.datetimepicker').datetimepicker().on('changeDate', function(ev){ console.log(' date changed '+ ev.date); });
Realized its using the 'dp.change' event per the bootstrap documentation$('.datetimepicker').datetimepicker().on('dp.change', function(ev){ console.log('date changed: '+ ev.date); });
I can't seem to view the 'changeDate' event being called. Does this gem alter the event binding? I'm trying to get the date via Javascript to update other attributes on the page.
$('.datetimepicker').datetimepicker().on('changeDate', function(ev){ console.log(' date changed '+ ev.date); });