@ccrpc/webmapgl 0.18.4 → 0.18.6

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.18.6](https://gitlab.com/ccrpc/webmapgl/compare/v0.18.5...v0.18.6) (2025-07-15)
6
+
7
+
8
+ ### Features
9
+
10
+ * **form:** support for a value field ([3283dec](https://gitlab.com/ccrpc/webmapgl/commit/3283deca7e8a0af06ac1180ca2a7e59d0b5c7078))
11
+
12
+ ## [0.18.5](https://gitlab.com/ccrpc/webmapgl/compare/v0.18.4...v0.18.5) (2025-07-15)
13
+
14
+
15
+ ### Features
16
+
17
+ * **form:** conditional formatting ([8450e9a](https://gitlab.com/ccrpc/webmapgl/commit/8450e9ad7e8e675e3edc075ed9d6e702f7295962))
18
+
5
19
  ## [0.18.4](https://gitlab.com/ccrpc/webmapgl/compare/v0.18.3...v0.18.4) (2025-07-07)
6
20
 
7
21
 
@@ -107,6 +107,11 @@ const Field = class {
107
107
  getInputField() {
108
108
  return (index.h("ion-item", null, index.h("ion-label", { "text-wrap": true, position: "floating" }, this.label), index.h("ion-input", { onIonInput: this.onInput, type: "text", placeholder: this.placeholder, value: this._getValue() })));
109
109
  }
110
+ componentDidLoad() {
111
+ if (this.widget === "value") {
112
+ this.changed(this.placeholder);
113
+ }
114
+ }
110
115
  render() {
111
116
  if (this.widget === "radio") {
112
117
  return this.getRadioField();
@@ -120,6 +125,9 @@ const Field = class {
120
125
  else if (this.widget == "instructions") {
121
126
  return this.getInstructionsField();
122
127
  }
128
+ else if (this.widget == "value") {
129
+ return null;
130
+ }
123
131
  else {
124
132
  return this.getInputField();
125
133
  }