0👍
✅
This line:
$('.datetime').datetimepicker
is finding the first item with class datetime and activating it. You should be searching relative to this.$el
Source:stackexchange.com