@bolttech/form-engine-core 0.0.1-beta.33 → 0.0.1-beta.35
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 +2 -1
- package/package.json +1 -1
- package/src/managers/formGroup.d.ts +2 -2
package/index.esm.js
CHANGED
|
@@ -3342,7 +3342,8 @@ class FormCore {
|
|
|
3342
3342
|
if (!this.fields.has(field)) {
|
|
3343
3343
|
/*
|
|
3344
3344
|
* check with João the need for a global mount event for the form
|
|
3345
|
-
* to avoid not displaying this message in some cases
|
|
3345
|
+
* to avoid not displaying this message in some cases (AsFormField)
|
|
3346
|
+
* sugestion: create subscriber to targetField.ON_FIELD_MOUNT
|
|
3346
3347
|
*/
|
|
3347
3348
|
console.warn(`failed to update visibility onto field ${field}`);
|
|
3348
3349
|
} else {
|
package/package.json
CHANGED
|
@@ -80,12 +80,12 @@ declare class FormGroup {
|
|
|
80
80
|
* @returns
|
|
81
81
|
*/
|
|
82
82
|
submitMultipleFormsByIndex<T>(indexes: string[], callback?: (payload: TFormValues<T>) => void): void;
|
|
83
|
-
onDataSubscription({ ids, callback, }: {
|
|
83
|
+
onDataSubscription<T>({ ids, callback, }: {
|
|
84
84
|
ids: string[];
|
|
85
85
|
callback: (payload: Record<string, {
|
|
86
86
|
formId: string;
|
|
87
87
|
formField: string;
|
|
88
|
-
values?: TFormValues<
|
|
88
|
+
values?: TFormValues<T>;
|
|
89
89
|
}>) => void;
|
|
90
90
|
}): import("rxjs").Subscription;
|
|
91
91
|
}
|