gd-bs 6.6.54 → 6.6.56
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/form/row.js +6 -2
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +1 -0
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/form/formTypes.d.ts +1 -0
- package/src/components/form/row.ts +7 -2
|
@@ -44,8 +44,12 @@ var FormRow = /** @class */ (function () {
|
|
|
44
44
|
var columns = this._props.columns || [];
|
|
45
45
|
for (var i = 0; i < columns.length; i++) {
|
|
46
46
|
var columnProps = columns[i];
|
|
47
|
-
// See if the is
|
|
48
|
-
if (typeof (this.props.
|
|
47
|
+
// See if the is disabled property is set, if the control doesn't have this property set
|
|
48
|
+
if (typeof (this.props.isDisabled) === "boolean" && typeof (columnProps.control.isDisabled) !== "boolean") {
|
|
49
|
+
columnProps.control.isDisabled = this.props.isDisabled;
|
|
50
|
+
}
|
|
51
|
+
// See if the is read only property is set, if the control doesn't have this property set
|
|
52
|
+
if (typeof (this.props.isReadOnly) === "boolean" && typeof (columnProps.control.isReadonly) !== "boolean") {
|
|
49
53
|
columnProps.control.isReadonly = this.props.isReadOnly;
|
|
50
54
|
}
|
|
51
55
|
// Set the value
|