gd-sprest-bs 9.7.3 → 9.7.6

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.
@@ -13,13 +13,9 @@ var DateTime = function (props) {
13
13
  // Create the textbox
14
14
  var textbox = gd_bs_1.Components.InputGroup({
15
15
  el: elDateTime,
16
- label: props.label
16
+ label: props.label,
17
+ isReadonly: props.disabled
17
18
  });
18
- // See if we are disabling the textbox
19
- if (props.disabled) {
20
- // Disable the input element
21
- textbox.el.querySelector("input").disabled = true;
22
- }
23
19
  // Get the options and default the values
24
20
  var options = props.options || {};
25
21
  options.enableTime = props.showTime;