gd-bs 6.6.52 → 6.6.54

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.52",
3
+ "version": "6.6.54",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -177,6 +177,7 @@ export interface IFormRow {
177
177
  className?: string;
178
178
  isAutoSized?: boolean;
179
179
  isCentered?: boolean;
180
+ isReadOnly?: boolean;
180
181
  columns?: Array<IFormColumn>;
181
182
  }
182
183
 
@@ -51,6 +51,11 @@ 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 read only property is set
55
+ if (typeof (this.props.isReadOnly) === "boolean") {
56
+ columnProps.control.isReadonly = this.props.isReadOnly;
57
+ }
58
+
54
59
  // Set the value
55
60
  let value = columnProps.control.value;
56
61
  if (value == undefined && this._parent.value) {