gd-bs 6.6.55 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.6.55",
3
+ "version": "6.6.56",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -51,13 +51,13 @@ export class FormRow {
51
51
  for (let i = 0; i < columns.length; i++) {
52
52
  let columnProps = columns[i];
53
53
 
54
- // See if the is disabled property is set
55
- if (typeof (this.props.isDisabled) === "boolean") {
54
+ // See if the is disabled property is set, if the control doesn't have this property set
55
+ if (typeof (this.props.isDisabled) === "boolean" && typeof (columnProps.control.isDisabled) !== "boolean") {
56
56
  columnProps.control.isDisabled = this.props.isDisabled;
57
57
  }
58
58
 
59
- // See if the is read only property is set
60
- if (typeof (this.props.isReadOnly) === "boolean") {
59
+ // See if the is read only property is set, if the control doesn't have this property set
60
+ if (typeof (this.props.isReadOnly) === "boolean" && typeof (columnProps.control.isReadonly) !== "boolean") {
61
61
  columnProps.control.isReadonly = this.props.isReadOnly;
62
62
  }
63
63