Skip to content

Commit 825e869

Browse files
committed
* 'master' of https://github.com/dschnelldavis/angular2-json-schema-form: Allow passing key-value pair to buildRemoteError so {{key}} style errors can be buildRemoted
2 parents 320d320 + 0c994ea commit 825e869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/src/json-schema-form.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface TitleMapItem {
2626
name?: string, value?: any, checked?: boolean, group?: string, items?: TitleMapItem[]
2727
};
2828
export interface ErrorMessages {
29-
[control_name: string]: { message: string|Function, code: string }[]
29+
[control_name: string]: { message: string|Function|Object, code: string }[]
3030
};
3131

3232
@Injectable()

0 commit comments

Comments
 (0)