@bolttech/form-engine-core 1.0.0-beta.6 → 1.0.0-beta.7

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.
Files changed (2) hide show
  1. package/index.esm.js +2 -3
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -2827,15 +2827,14 @@ class FormField {
2827
2827
  valueSubscription,
2828
2828
  propsSubscription
2829
2829
  }) {
2830
- var _a, _b;
2831
2830
  this.subscribeValue(valueSubscription);
2832
2831
  this.subscribeState(propsSubscription);
2833
2832
  this.mounted = true;
2834
2833
  this.valueSubject$.next(this.stateValue);
2835
2834
  this.propsSubject$.next(this.props);
2836
2835
  this.visibilitySubject$.next(this.visibility);
2837
- ((_b = (_a = this.mapper) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.setErrorMessage) && this.errorSubject$.next({
2838
- [this.mapper.events.setErrorMessage]: this.errorsString
2836
+ this.setFieldValidity({
2837
+ event: 'ON_FIELD_MOUNT'
2839
2838
  });
2840
2839
  }
2841
2840
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolttech/form-engine-core",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.7",
4
4
  "module": "./index.esm.js",
5
5
  "type": "module",
6
6
  "main": "./index.esm.js",