@gisce/ooui 2.2.0 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/ooui",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "engines": {
5
5
  "node": "20.5.0"
6
6
  },
package/src/Form.ts CHANGED
@@ -10,7 +10,6 @@ import { parseOnChange } from "./helpers/onChangeParser";
10
10
  import * as txml from "txml";
11
11
  import Field from "./Field";
12
12
  import Button from "./Button";
13
- import Page from "./Page";
14
13
 
15
14
  export type FormParseOptions = {
16
15
  readOnly?: boolean;
@@ -234,7 +233,7 @@ class Form {
234
233
  key: `${this._keyIdx}`,
235
234
  };
236
235
 
237
- if (container instanceof Page && container.readOnly) {
236
+ if (container.readOnly) {
238
237
  widgetProps.readonly = true;
239
238
  }
240
239