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.
- package/build/components/datetime/index.js +2 -6
- package/dist/gd-sprest-bs-icons.js +509 -509
- package/dist/gd-sprest-bs-icons.min.js +1 -1
- package/dist/gd-sprest-bs.js +265 -265
- package/dist/gd-sprest-bs.min.js +1 -1
- package/package.json +3 -3
- package/pnpm-lock.yaml +8 -8
- package/src/components/datetime/index.ts +2 -7
|
@@ -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;
|