gd-sprest-bs 9.9.0 → 9.9.1
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 +1 -1
- package/build/components/listForm/index.js +8 -6
- package/dist/gd-sprest-bs-icons.js +262 -262
- package/dist/gd-sprest-bs-icons.min.js +1 -1
- package/dist/gd-sprest-bs.d.ts +2 -2
- package/dist/gd-sprest-bs.js +262 -262
- package/dist/gd-sprest-bs.min.js +1 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +4 -4
- package/src/components/datetime/index.ts +1 -1
- package/src/components/listForm/index.ts +8 -7
- package/src/components/peoplePicker/types.d.ts +2 -2
|
@@ -33,7 +33,7 @@ var DateTime = function (props) {
|
|
|
33
33
|
// See if we are disabling the component
|
|
34
34
|
if (props.disabled) {
|
|
35
35
|
// Remove the read-only setting set by the flatpickr
|
|
36
|
-
textbox.
|
|
36
|
+
textbox.elTextbox.readOnly = false;
|
|
37
37
|
}
|
|
38
38
|
// Create the element
|
|
39
39
|
var el = document.createElement("div");
|
|
@@ -718,12 +718,14 @@ exports.ListForm.renderEditForm = function (props) {
|
|
|
718
718
|
if (control.isReadonly) {
|
|
719
719
|
// Get the control display properties
|
|
720
720
|
var dispControl = renderDisplay(control.name, props);
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
721
|
+
if (dispControl) {
|
|
722
|
+
// Update the properties
|
|
723
|
+
control.data = dispControl.data;
|
|
724
|
+
control.label = dispControl.label;
|
|
725
|
+
control.showTime = dispControl.showTime;
|
|
726
|
+
control.type = dispControl.type;
|
|
727
|
+
control.value = dispControl.value;
|
|
728
|
+
}
|
|
727
729
|
}
|
|
728
730
|
};
|
|
729
731
|
// Execute the rendering event
|