From 2c52ba830abafbf431e4305d6f28d26104599800 Mon Sep 17 00:00:00 2001 From: Salih Date: Tue, 28 Mar 2023 18:40:36 +0300 Subject: [PATCH] Added missing feature --- .../bootstrap/dom-event-handlers.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js index 8c97539e66..945df5d0c6 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js @@ -247,6 +247,10 @@ if (options.readonly) { $dateInput.attr('readonly', true) } + + if(options.placeholder) { + $dateInput.attr('placeholder', options.placeholder) + } if (options.size) { switch (options.size) { @@ -269,11 +273,17 @@ if (options.openButton !== false) { var $openButton = $(''); $inputGroup.append($openButton); + if(options.disabled) { + $openButton.attr('disabled', 'disabled') + } } if (options.clearButton !== false) { var $clearButton = $(''); $inputGroup.append($clearButton); + if(options.disabled) { + $clearButton.attr('disabled', 'disabled') + } } $datePicker.append($inputGroup);