@sprucelabs/heartwood-view-controllers 128.5.0 → 128.5.2
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.
|
@@ -35,7 +35,7 @@ export default class FormViewController<S extends Schema, V extends ViewModel<S>
|
|
|
35
35
|
private normalizeValues;
|
|
36
36
|
private validateDirtyFields;
|
|
37
37
|
setErrors(errors: TypedFieldError<S>[]): void;
|
|
38
|
-
|
|
38
|
+
setErrorsByField(errorsByField: FormErrorsByField<S>): void;
|
|
39
39
|
validate(): FormErrorsByField<S>;
|
|
40
40
|
isValid(): boolean;
|
|
41
41
|
protected _isValidForFields(visibleFields: SchemaFieldNames<S>[]): boolean;
|
|
@@ -35,7 +35,7 @@ export default class FormViewController<S extends Schema, V extends ViewModel<S>
|
|
|
35
35
|
private normalizeValues;
|
|
36
36
|
private validateDirtyFields;
|
|
37
37
|
setErrors(errors: TypedFieldError<S>[]): void;
|
|
38
|
-
|
|
38
|
+
setErrorsByField(errorsByField: FormErrorsByField<S>): void;
|
|
39
39
|
validate(): FormErrorsByField<S>;
|
|
40
40
|
isValid(): boolean;
|
|
41
41
|
protected _isValidForFields(visibleFields: SchemaFieldNames<S>[]): boolean;
|
package/package.json
CHANGED