This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Description
I'm using Aurelia-skeleton-esnext and bootstrap v4.
And I have configured the plugin as below:
In main.js:
.plugin('aurelia-bootstrap-datetimepicker', config => {
// extra attributes, with config.extra
config.extra.iconBase = 'font-awesome';
config.extra.withDateIcon = true;
// or any picker options, with config.options
config.options.showClear = true;
// or any picker options, with config.options
config.options.showTodayButton = true;
// or any picker options, with config.options
config.options.format = 'DD-MM-YYYY hh:mm';
// or any picker options, with config.options
config.options.allowInputToggle = true;
// if you use Bootstrap 4 Beta 3
config.extra.bootstrapVersion = 4;
// you can also change the Bootstrap 4 button class, default is shown below
config.extra.buttonClass = 'btn btn-outline-secondary';
})
So, when I select or focus on input element the result is as shown in the below image
