Skip to content

Commit 41421cc

Browse files
committed
work
1 parent eb02db7 commit 41421cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ export const DEFAULT_ERROR_STATE_MATCHER: DynamicErrorMessagesMatcher =
10711071
};
10721072
```
10731073

1074-
You can also set an error matcher on a per control basis by adding under the `additional` field:
1074+
You can also set an error matcher on a per control basis by assigning it under the `additional` field:
10751075
```ts
10761076
new DynamicInputModel({
10771077
id: "sampleInput",
@@ -1080,6 +1080,7 @@ new DynamicInputModel({
10801080
errorStateMatcher: myCustomErrorMessagesMatcher
10811081
}
10821082
}),
1083+
```
10831084

10841085
Please note here that NG Dynamic Forms always assumes both the control being invalid and error messages being defined on the model
10851086
as a fixed precondition.

0 commit comments

Comments
 (0)