fng-bootstrap-datetime 0.12.0-beta.170 → 0.12.0-beta.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -402,7 +402,9 @@ angular.module('ui.bootstrap.datetimepicker', ["ui.bootstrap.dateparser", "ui.bo
|
|
402
402
|
jsonDateOptions = JSON.parse(processedAttr.directiveOptions['date-options'].replace(/'/g, '"'));
|
403
403
|
}
|
404
404
|
scope.dateOptions = Object.assign({}, overRiddenDateDefaults, jsonDateOptions);
|
405
|
-
|
405
|
+
|
406
|
+
const isArray = processedAttr.info.array;
|
407
|
+
template = pluginHelper.buildInputMarkup(scope, attrs.model, processedAttr.info, processedAttr.options, isArray, isArray, function (buildingBlocks) {
|
406
408
|
var str = '<div class="dtwrap"><datetimepicker ' + buildingBlocks.common;
|
407
409
|
for (var opt in overRiddenDefaults) {
|
408
410
|
if (opt !== 'date-options') {
|