Browse Source

Add data-datepicker attribute to ignore initialize Datepickers.

Resolve #7571
pull/7574/head
maliming 5 years ago
parent
commit
f57c4c8b47
  1. 2
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js

2
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js

@ -159,7 +159,7 @@
abp.dom.initializers.initializeDatepickers = function ($rootElement) {
$rootElement
.findWithSelf('input.datepicker,input[type=date]')
.findWithSelf('input.datepicker,input[type=date][data-datepicker!=false]')
.each(function () {
var $input = $(this);
$input

Loading…
Cancel
Save