@bolttech/form-engine-core 1.0.1-beta.0 → 1.0.1-beta.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.
Files changed (2) hide show
  1. package/index.esm.js +2 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -3129,7 +3129,6 @@ class FormField {
3129
3129
  this.propsSubject$.unsubscribe();
3130
3130
  this.errorSubject$.unsubscribe();
3131
3131
  this.apiEventQueueSubject$.unsubscribe();
3132
- this.triggerFieldValidNotification();
3133
3132
  this.dataSubject$.next({
3134
3133
  event: 'ON_FIELD_UNMOUNT',
3135
3134
  fieldIndex: this.name,
@@ -3942,6 +3941,7 @@ class FormCore {
3942
3941
  key,
3943
3942
  event: 'ON_FIELDS'
3944
3943
  });
3944
+ this.validateForm();
3945
3945
  }
3946
3946
  /**
3947
3947
  * Serializes the schema structure to create form fields.
@@ -4059,7 +4059,7 @@ class FormCore {
4059
4059
  subscribeFieldEvent({
4060
4060
  callback
4061
4061
  }) {
4062
- const sub = this.fieldEventSubject$.pipe(groupBy(payload => payload.event), mergeMap(group$ => group$.pipe(debounceTime(this.config.defaultStateRefreshTimeMS)))).subscribe({
4062
+ const sub = this.fieldEventSubject$.pipe(groupBy(payload => `${payload.event}|${payload.fieldName}`), mergeMap(group$ => group$.pipe(debounceTime(this.config.defaultStateRefreshTimeMS)))).subscribe({
4063
4063
  next: callback
4064
4064
  });
4065
4065
  return sub;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolttech/form-engine-core",
3
- "version": "1.0.1-beta.0",
3
+ "version": "1.0.1-beta.1",
4
4
  "module": "./index.esm.js",
5
5
  "type": "module",
6
6
  "main": "./index.esm.js",