@bolttech/form-engine-core 0.0.1-beta.29 → 0.0.1-beta.30

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/index.esm.js CHANGED
@@ -2495,7 +2495,7 @@ class FormField {
2495
2495
  this._valid = false;
2496
2496
  this._mounted = true;
2497
2497
  this.initializeObservers();
2498
- this.value = this.initialValue || '';
2498
+ this.value = this.initialValue;
2499
2499
  }
2500
2500
  /**
2501
2501
  * method to initialize all recycled Subjects and initialize Observers on field instance creation or rerender
@@ -3357,11 +3357,6 @@ class FormCore {
3357
3357
  }) {
3358
3358
  const field = this.fields.get(key);
3359
3359
  const structVisibility = field === null || field === void 0 ? void 0 : field.visibilityConditions;
3360
- console.table({
3361
- key,
3362
- field,
3363
- structVisibility
3364
- });
3365
3360
  if (!structVisibility || !(structVisibility === null || structVisibility === void 0 ? void 0 : structVisibility.some(config => config.events.includes(event)))) {
3366
3361
  return;
3367
3362
  }
@@ -3420,6 +3415,7 @@ class FormCore {
3420
3415
  * Adds a field onto the form instance regardless there is a schema or not
3421
3416
  *
3422
3417
  * @param fieldSchema
3418
+ * @param mapperElement
3423
3419
  */
3424
3420
  addField({
3425
3421
  fieldSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolttech/form-engine-core",
3
- "version": "0.0.1-beta.29",
3
+ "version": "0.0.1-beta.30",
4
4
  "module": "./index.esm.js",
5
5
  "type": "module",
6
6
  "main": "./index.esm.js",
@@ -174,6 +174,7 @@ declare class FormCore {
174
174
  * Adds a field onto the form instance regardless there is a schema or not
175
175
  *
176
176
  * @param fieldSchema
177
+ * @param mapperElement
177
178
  */
178
179
  addField({ fieldSchema, mapperElement, }: {
179
180
  fieldSchema: IComponentSchema;