gd-sprest-bs 9.8.8 → 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/build/components/peoplePicker/index.js +2 -0
- package/dist/gd-sprest-bs-icons.js +509 -509
- package/dist/gd-sprest-bs-icons.min.js +1 -1
- package/dist/gd-sprest-bs.d.ts +2 -1
- package/dist/gd-sprest-bs.js +267 -267
- 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 +1 -1
- package/src/components/listForm/index.ts +8 -7
- package/src/components/peoplePicker/index.ts +2 -0
- package/src/components/peoplePicker/types.d.ts +2 -1
|
@@ -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
|
|
@@ -357,6 +357,7 @@ core_1.Components.CustomControls.registerType(exports.PeoplePickerControlType, f
|
|
|
357
357
|
// Render a people picker
|
|
358
358
|
picker = (0, exports.PeoplePicker)({
|
|
359
359
|
allowGroups: props.allowGroups,
|
|
360
|
+
assignTo: props.assignTo,
|
|
360
361
|
className: props.className,
|
|
361
362
|
disabled: props.isDisabled,
|
|
362
363
|
el: ctrl.el,
|
|
@@ -364,6 +365,7 @@ core_1.Components.CustomControls.registerType(exports.PeoplePickerControlType, f
|
|
|
364
365
|
label: props.label,
|
|
365
366
|
maxResults: props.maxResults,
|
|
366
367
|
multi: props.multi,
|
|
368
|
+
onChange: props.onChange,
|
|
367
369
|
placeholder: props.placeholder,
|
|
368
370
|
readOnly: props.isReadonly,
|
|
369
371
|
searchLocal: props.searchLocal,
|